c# 带托盘的windows 服务 控制程序

上传者: linhai107 | 上传时间: 2022-05-28 12:11:29 | 文件大小: 57KB | 文件类型: RAR
经常的我们会在windos系统中注册某些重要的应用型服务,需要开机就自动运行,因为服务是没有界面的,我们想看见他的运行状态就需要打开管理-服务和应用程序...,如果服务有日志记录还要打开这个服务的执行程序的目录查看日志文件,比较繁琐,今天我通过自身的经验发布一个通用的服务控制程序,可以方便的在托盘查看服务状态,控制服务,打开服务执行程序路径,并可以设置服务属性.只需要在App.config 里填上服务名称即可

文件下载

资源详情

[{"title":"( 26 个子文件 57KB ) c# 带托盘的windows 服务 控制程序","children":[{"title":"windows服务控制","children":[{"title":"WinServicesControl","children":[{"title":"WinServicesControl","children":[{"title":"Program.cs <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"FrmMian.Designer.cs <span style='color:#111;'> 11.59KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"WinServicesControl.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"WinServicesControl.csproj.GenerateResource.Cache <span style='color:#111;'> 1000B </span>","children":null,"spread":false},{"title":"WinServicesControl.exe <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"WinServicesControl.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"WinServicesControl.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Resource1.Designer.cs.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"Refactor","children":null,"spread":false},{"title":"WinServicesControl.FrmMian.resources <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WinServicesControl.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"WinServicesControl.exe <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"WinServicesControl.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"WinServicesControl.vshost.exe.config <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"WinServicesControl.exe.config <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"WinServicesControl.csproj <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"FrmMian.resx <span style='color:#111;'> 9.65KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"FrmMian.cs <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"ClServCtl.cs <span style='color:#111;'> 9.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"WinServicesControl.suo <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false},{"title":"WinServicesControl.sln <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • w2940710908 :
    可以正常运行
    2018-05-31
  • puloon :
    对我有帮助,很不错的案例。程序可运行
    2014-04-18
  • xiaochao6373 :
    写的很实用
    2013-11-25
  • u010973462 :
    写得不错,功能够用了
    2013-11-12
  • bundur :
    案例不错,但我理解错了,以为是服务程序,并带有托盘程序的那种。
    2013-10-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明