silverlight 定时器 System.Windows.Threading.DispatcherTimer
2020-12-13 01:57
阅读:453
标签:style class blog c code java

1 声明 2 System.Windows.Threading.DispatcherTimer _MessageControler; 3 4 //刷新 5 _MessageControler = new System.Windows.Threading.DispatcherTimer(); 6 _MessageControler.Interval = new TimeSpan(0, 0, 600); 7 _MessageControler.Tick += new EventHandler(_MessageControler_Tick); 8 _MessageControler.Start(); 9 10 11 定时执行的方法:_MessageControler_Tick 12 13 private void _MessageControler_Tick(object sender,EventArgs e) 14 { 15 //具体方法 16 }

silverlight 定时器 System.Windows.Threading.DispatcherTimer,搜素材,soscw.com
silverlight 定时器 System.Windows.Threading.DispatcherTimer
标签:style class blog c code java
原文地址:http://www.cnblogs.com/qiernonstop/p/3749720.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:silverlight 定时器 System.Windows.Threading.DispatcherTimer
文章链接:http://soscw.com/index.php/essay/24544.html
文章标题:silverlight 定时器 System.Windows.Threading.DispatcherTimer
文章链接:http://soscw.com/index.php/essay/24544.html
评论
亲,登录后才可以留言!