摘要: 1、首先创建一个Windows Service2、创建完成后切换到代码视图,代码中默认有OnStart和OnStop方法执行服务开启和服务停止执行的操作,下面代码是详细解释:using System;using System.IO;usingSystem.ServiceProcess;using S... 阅读全文
posted @ 2015-10-30 15:17 cateatmycode 阅读(251) 评论(0) 推荐(0)