02 2022 档案

摘要:wpf中 赋值给ui控件数据时会报错“调用线程无法访问此对象,因为另一个线程拥有该对象。” 解决办法: this.Dispatcher.Invoke((Action)delegate () { 控件.ItemsSource = 数据; }); 或者 App.Current.Dispatcher.In 阅读全文
posted @ 2022-02-22 18:02 Yhzwei 阅读(2397) 评论(0) 推荐(0)
摘要:@echo offat 14:21 start /min /w mshta vbscript:setTimeout("window.close()",50000) taskkill /im 程序.exe /f 阅读全文
posted @ 2022-02-18 18:11 Yhzwei 阅读(289) 评论(0) 推荐(0)
摘要:select a.* from testTable a inner join (select id,MAX(InDate) as InDate from testTable group by id) b on a.id=b.id and a.InDate =b.InDate 阅读全文
posted @ 2022-02-15 17:43 Yhzwei 阅读(1668) 评论(0) 推荐(0)