摘要:
/// <summary> /// 禁用窗体最大最小按键 /// </summary> internal static class WindowExtensions { [DllImport("user32.dll")] internal extern static int SetWindowLon 阅读全文
摘要:
public class testDescrible { int _tt; [Description("123")] public int ttt { get { return _tt; } set { _tt = value; } } [Description("测试1")] public voi 阅读全文
摘要:
WPF 接收初始化 /// <summary> /// 初始化窗体句柄消息接收函数 /// </summary> private void InitailWinHand() { HwndSource hWndSource; WindowInteropHelper wih = new WindowIn 阅读全文
摘要:
public static object GetElementFromPoint(System.Windows.Controls.ItemsControl itemsControl, Point point) { UIElement element = itemsControl.InputHitTe 阅读全文
摘要:
/// <summary> /// 检测IP地址是否合法 /// </summary> /// <param name="strJudgeString"></param> /// <returns></returns> public static bool JudgeIPFormat(string 阅读全文
摘要:
/// <summary> /// 带小数点数字匹配 /// </summary> /// <param name="input"></param> /// <returns></returns> public static bool IsNumber(string input) { string 阅读全文