c# 开发window服务
http://jingyan.baidu.com/article/fa4125acb71a8628ac709226.html
安装
cmd
输入 InstallUtil.exe E:\TestApp\Winform\WinServiceTest\WinServiceTest\bin\Debug\WinServiceTest.exe 回车
卸载
sc delete 服务名
http://jingyan.baidu.com/article/fa4125acb71a8628ac709226.html
安装
cmd
输入 InstallUtil.exe E:\TestApp\Winform\WinServiceTest\WinServiceTest\bin\Debug\WinServiceTest.exe 回车
卸载
sc delete 服务名