11 2019 档案
获取枚举描述值
摘要:public string GetEnumDescription(Enum enumValue) { string str = enumValue.ToString(); System.Reflection.FieldInfo field = enumValue.GetType().GetField 阅读全文
posted @ 2019-11-20 09:52 FL0528
winfrom 获取焦点控件
摘要:[DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.Winapi)] internal static extern IntPtr GetFocus(); ///获取 当前拥有焦点 阅读全文
posted @ 2019-11-07 16:56 FL0528 阅读(437) 评论(0) 推荐(0)