摘要:
using System.Windows;using System.Windows.Controls;using System.Windows.Interactivity;using System.Windows.Media;using System.Windows.Controls.Primiti... 阅读全文
摘要:
private DispatcherTimer TimeClose; //定义TimeClose = new DispatcherTimer(); TimeClose.Tick += new EventHandler(TimeClose_Tick); TimeClose.Interval = ne... 阅读全文
摘要:
this.SourceInitialized += new EventHandler(win_SourceInitialized); //这里写在构造函数里 void win_SourceInitialized(object sender, EventArgs e) { HwndSource hwn... 阅读全文
摘要:
this.TB_tis.Dispatcher.Invoke(new Action(() => { this.TB_tis.Text = e.Message ; })); 阅读全文