01 2020 档案

摘要:`````` 阅读全文
posted @ 2020-01-20 17:22 wesson2019 阅读(277) 评论(0) 推荐(0)
摘要:Console.WriteLine("Ports:"); foreach (var item in SerialPortService.SerialPortNames) { Console.Write("\t{0}", item); } Console.WriteLine(); SerialPort 阅读全文
posted @ 2020-01-20 16:26 wesson2019 阅读(664) 评论(0) 推荐(0)
摘要:delegate、Action、Function、EventHandler 阅读全文
posted @ 2020-01-10 18:17 wesson2019 阅读(361) 评论(0) 推荐(0)
摘要:dd 阅读全文
posted @ 2020-01-09 18:37 wesson2019 阅读(178) 评论(0) 推荐(0)
摘要:using System.Diagnostics; 以静默方式运行bat脚本 Console.WriteLine("同步执行"); Console.WriteLine(CMDHelper.CMDExecute("TimeStampVerificationCode.bat")); Console.Wr 阅读全文
posted @ 2020-01-09 17:54 wesson2019 阅读(579) 评论(0) 推荐(0)
摘要:MathEx 阅读全文
posted @ 2020-01-09 17:25 wesson2019 阅读(163) 评论(0) 推荐(0)
摘要:FileHelper, FileContentTypeHelper, FileEntity 阅读全文
posted @ 2020-01-09 17:16 wesson2019 阅读(509) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-09 16:01 wesson2019 阅读(101) 评论(0) 推荐(0)
摘要:需要内部控件实现滚动的控件(比如treeview1中的内容超过面板大小时,滚动条会自动出现,鼠标在控件内部内容上时),鼠标滚轮滚动无效。 滚动条嵌套响应鼠标滑轮事件的处理,由于xaml前台绑定时触发不了MouseWheel事件,需要在构造函数中引发鼠标滚轮的路由事件。 public UC_XXXXX 阅读全文
posted @ 2020-01-08 17:10 wesson2019 阅读(519) 评论(0) 推荐(0)
摘要:摘要、加密 阅读全文
posted @ 2020-01-08 10:03 wesson2019 阅读(332) 评论(0) 推荐(0)
摘要:ZipArchiveHelper 阅读全文
posted @ 2020-01-06 11:58 wesson2019 阅读(815) 评论(0) 推荐(0)
摘要:窗体、控件句柄 窗体句柄: IntPtr hwnd = new WindowInteropHelper(this).Handle; 控件句柄: IntPtr hwnd = ((HwndSource)PresentationSource.FromVisual(uielement)).Handle; 不 阅读全文
posted @ 2020-01-06 11:44 wesson2019 阅读(900) 评论(0) 推荐(0)
摘要:屏幕工作区右下角 NewWindow win = new NewWindow(arg1, arg2); win.WindowStartupLocation = WindowStartupLocation.Manual; win.Left = SystemParameters.WorkArea.Wid 阅读全文
posted @ 2020-01-06 11:28 wesson2019 阅读(102) 评论(0) 推荐(0)