2009年2月23日

Windows Service

摘要: 用Visual Studio创建一个Windows Service非常简便。新建项目,然后选择Windows服务。 用在一个服务里使用脉冲时间不能用System.Windows.Forms.Timer控件,要使用System.Timers.Timer。 在Service类里面定义一个私用成员。 System.Timers.Timer timer = new ... 阅读全文
posted @ 2009-02-23 22:10 林骄 阅读(407) 评论(0) 推荐(0)