文件名称:AutoService

  • 所属分类:
  • C#编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2013-09-04
  • 文件大小:
  • 51kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • Zhang ******
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

程序演示了如何通过代码(不使用InstallUtil.exe)来对C#开发的Windows系统服务程序进行安装和卸载,使用了单独编写的安装程序,安装和卸载在线程中进行,带进度条,界面不锁死。代码中的解决方案包括2个项目:系统服务程序为一简单的服务,每10秒在C:\log.txt文件内写入运行日志。服务程序内的Timer控件不能简单的从工具栏中拖入,拖入后需要更改代码使其成为System.Timers.Timer。安装程序直接生成文件于服务程序的Debug目录中,独立的安装和卸载按钮。开发环境:Visual Studio 2010

DotNet版本:3.5-Program demonstrates how to code (do not use InstallUtil.exe) to C# development on Windows system service program to install and uninstall, prepared using a separate installer, installing and uninstalling carried out in the thread, with a progress bar, the interface does not lock die. Code solution includes two items: System Services program is a simple service, every 10 seconds in the C: \ log.txt log file is written to run. Service Timer control within the program can not simply be dragged from the toolbar, drag the need to change the code after making System.Timers.Timer. Installer file directly generated in the Debug directory service program, a separate installation and uninstallation button. Development Environment: Visual Studio 2010

DotNet Version: 3.5
(系统自动生成,下载前可以参看下载内容)

下载文件列表





AutoService\AutoService.cs

...........\AutoService.csproj

...........\AutoService.Designer.cs

...........\AutoService.resx

...........\bin\Debug\AutoService.exe

...........\...\.....\Install.exe

...........\obj\x86\Debug\AutoService.AutoService.resources

...........\...\...\.....\AutoService.csproj.FileListAbsolute.txt

...........\...\...\.....\AutoService.exe

...........\...\...\.....\AutoService.pdb

...........\...\...\.....\AutoService.ProjectInstaller.resources

...........\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache

...........\Program.cs

...........\ProjectInstaller.cs

...........\ProjectInstaller.Designer.cs

...........\ProjectInstaller.resx

...........\...perties\AssemblyInfo.cs

Install\frmMain.cs

.......\frmMain.Designer.cs

.......\frmMain.resx

.......\frmServiceStatus.cs

.......\frmServiceStatus.Designer.cs

.......\frmServiceStatus.resx

.......\Install.csproj

.......\Install.csproj.user

.......\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

.......\...\...\.....\Install.csproj.FileListAbsolute.txt

.......\...\...\.....\Install.exe

.......\...\...\.....\Install.frmMain.resources

.......\...\...\.....\Install.frmServiceStatus.resources

.......\...\...\.....\Install.pdb

.......\...\...\.....\Install.Properties.Resources.resources

.......\Program.cs

.......\...perties\AssemblyInfo.cs

.......\..........\Resources.Designer.cs

.......\..........\Resources.resx

.......\..........\Settings.Designer.cs

.......\..........\Settings.settings

AutoService.sln

...........\obj\x86\Debug\TempPE

Install\obj\x86\Debug\TempPE

AutoService\obj\x86\Debug

Install\obj\x86\Debug

AutoService\bin\Debug

...........\obj\x86

Install\obj\x86

AutoService\bin

...........\obj

...........\Properties

Install\obj

.......\Properties

AutoService

Install

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org