摘要:
private DispatcherTimer TimeClose; //定义TimeClose = new DispatcherTimer(); TimeClose.Tick += new EventHandler(TimeClose_Tick); TimeClose.Interval = ne...
阅读全文
posted @ 2015-06-04 15:27
电脑小白
阅读(720)
推荐(0)
编辑
摘要:
this.SourceInitialized += new EventHandler(win_SourceInitialized); //这里写在构造函数里 void win_SourceInitialized(object sender, EventArgs e) { HwndSource hwn...
阅读全文
posted @ 2015-06-04 15:25
电脑小白
阅读(1111)
推荐(0)
编辑
摘要:
this.TB_tis.Dispatcher.Invoke(new Action(() => { this.TB_tis.Text = e.Message ; }));
阅读全文
posted @ 2015-06-04 15:21
电脑小白
阅读(388)
推荐(0)
编辑