摘要: silverlight的timer跟winform和asp.net的timer用法基本没什么难度,首先你得新建一个DispatcherTimer对象,然后再设置DispatcherTimer几秒tick一次然后再写tick时间DispatcherTimer timer = new DispatcherTimer(); timer.Interval = new TimeSpan(0,0,1); timer.Tick += new EventHandler(timer_Tick); timer.Start();DispatcherT... 阅读全文
posted @ 2012-07-27 08:49 菠萝君 阅读(185) 评论(0) 推荐(0)