Method | Description | |
---|---|---|
FrmMain ( string args ) : System |
Method | Description | |
---|---|---|
GetServiceName ( string serviceFileName ) : string |
获取Windows服务的名称
|
|
ServiceIsExisted ( string serviceName ) : bool |
判断服务是否已经存在
|
|
Vaild ( ) : bool |
操作前校验
|
|
btnBrowser_Click ( object sender, |
选择文件
|
|
btnInstall_Click ( object sender, |
安装服务
|
|
btnRun_Click ( object sender, |
运行服务
|
|
btnStop_Click ( object sender, |
停止服务
|
|
btnUninstall_Click ( object sender, |
卸载服务
|
|
mBackgroundWorker_DoWork ( object sender, |
卸载服务
|
|
mBackgroundWorker_ProgressChanged ( object sender, |