摘要: 创建一个windows服务项目,增加App.config View Code新建类BusinessLogic.cs,主要的业务逻辑都在此类中public class BusinessLogic{ System.Timers.Timer timer; String a... 阅读全文
posted @ 2015-11-25 19:55 红魔 阅读(2254) 评论(0) 推荐(0) 编辑
摘要: 安装创建“安装.bat”文件,用记事本打开此文件,内容为c:\windows\microsoft.net\framework\v4.0.30319\InstallUtil.exe E:\program\vs2010\Test\TestWindowsService1\bin\Debug\TestWin... 阅读全文
posted @ 2015-11-25 17:44 红魔 阅读(291) 评论(0) 推荐(0) 编辑