摘要: 触发器 阅读全文
posted @ 2020-06-12 15:08 wesson2019 阅读(679) 评论(0) 推荐(0) 编辑
摘要: MAC地址 94:C6:91:71:9D:39 /// <summary> /// MAC地址 /// </summary> /// <returns></returns> public static string GetPcMac() { ManagementObjectSearcher mos 阅读全文
posted @ 2020-04-27 18:09 wesson2019 阅读(309) 评论(0) 推荐(0) 编辑
摘要: IDisposable 阅读全文
posted @ 2020-04-24 15:17 wesson2019 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 删除操作 data.RemoveAll(x = x.Key == " "); 阅读全文
posted @ 2020-04-20 17:04 wesson2019 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 同级或上下级关系时,事件的响应者可订阅事件的发起者;通过委托,事件的响应者使用事件的处理器来做出交互响应。 多级关系时,路由事件的事件拥有者和事件的响应者之间则没有直接的显式订阅关系,事件的拥有者则只负责激发事件,事件将有谁响应它并不知道;事件的响应者则有事件的监听器,针对事件进行监听,当有此类事件 阅读全文
posted @ 2020-04-15 18:02 wesson2019 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Binding 阅读全文
posted @ 2020-04-02 14:27 wesson2019 阅读(2416) 评论(0) 推荐(0) 编辑
摘要: Constructor Initialized SourceInitialized 显示窗口,事件发生后获取窗体的句柄,并且可注册全局快捷键。 Activated 活动窗口 Loaded 所有内容都显示给用户之前执行,窗口渲染完成,但是还没有执行任何交互时触发,在程序加载期间做一些初始化操作 Dea 阅读全文
posted @ 2020-03-27 18:15 wesson2019 阅读(394) 评论(0) 推荐(0) 编辑
摘要: using System.Configuration App.config Configuration _config; string _paraPath = "Path"; public MainWindow() { InitializeComponent(); this.Dispatcher.S 阅读全文
posted @ 2020-03-25 14:45 wesson2019 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 蒙版 弹出 窗体 窗口 弹窗 阅读全文
posted @ 2020-03-19 16:10 wesson2019 阅读(1509) 评论(0) 推荐(0) 编辑
摘要: using System.Windows.Forms; Demo private void Window_Loaded(object sender, RoutedEventArgs e) { InitialTray(); } private void Window_Closing(object se 阅读全文
posted @ 2020-03-19 16:09 wesson2019 阅读(1857) 评论(0) 推荐(0) 编辑