摘要: ###1.首先加入引用: ```using System.ServiceProcess;```###2.控制启动服务:```public void Start(){ var timeout = TimeSpan.FromSeconds(60); try { _ser... 阅读全文
posted @ 2015-02-10 14:07 le0zh 阅读(258) 评论(0) 推荐(0) 编辑