silverlight 定时器 System.Windows.Threading.DispatcherTimer
2020-12-13 01:57
标签:style class blog c code java 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 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
文章链接:http://soscw.com/essay/24544.html