2013年6月19日

介绍两种Timer定时器的使用

摘要: 第一种,直接实例化Timer类,设置时间间隔,到达时间后执行想要执行的事件。代码示例:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Timers;namespace Timer{ class Program { static void Main(string[] args) { // Create a new Timer with Interval set to 10 seconds. ... 阅读全文

posted @ 2013-06-19 14:50 行意 阅读(1139) 评论(1) 推荐(1) 编辑

导航