文件名称:AutoService
-
所属分类:
- 标签属性:
- 上传时间:2013-09-04
-
文件大小:50.79kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
程序演示了如何通过代码(不使用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
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/AutoService.csproj
AutoService/AutoService.Designer.cs
AutoService/AutoService.resx
AutoService/bin/Debug/AutoService.exe
AutoService/bin/Debug/Install.exe
AutoService/obj/x86/Debug/AutoService.AutoService.resources
AutoService/obj/x86/Debug/AutoService.csproj.FileListAbsolute.txt
AutoService/obj/x86/Debug/AutoService.exe
AutoService/obj/x86/Debug/AutoService.pdb
AutoService/obj/x86/Debug/AutoService.ProjectInstaller.resources
AutoService/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
AutoService/Program.cs
AutoService/ProjectInstaller.cs
AutoService/ProjectInstaller.Designer.cs
AutoService/ProjectInstaller.resx
AutoService/Properties/AssemblyInfo.cs
Install/frmMain.cs
Install/frmMain.Designer.cs
Install/frmMain.resx
Install/frmServiceStatus.cs
Install/frmServiceStatus.Designer.cs
Install/frmServiceStatus.resx
Install/Install.csproj
Install/Install.csproj.user
Install/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Install/obj/x86/Debug/Install.csproj.FileListAbsolute.txt
Install/obj/x86/Debug/Install.exe
Install/obj/x86/Debug/Install.frmMain.resources
Install/obj/x86/Debug/Install.frmServiceStatus.resources
Install/obj/x86/Debug/Install.pdb
Install/obj/x86/Debug/Install.Properties.Resources.resources
Install/Program.cs
Install/Properties/AssemblyInfo.cs
Install/Properties/Resources.Designer.cs
Install/Properties/Resources.resx
Install/Properties/Settings.Designer.cs
Install/Properties/Settings.settings
AutoService.sln
AutoService/obj/x86/Debug/TempPE
Install/obj/x86/Debug/TempPE
AutoService/obj/x86/Debug
Install/obj/x86/Debug
AutoService/bin/Debug
AutoService/obj/x86
Install/obj/x86
AutoService/bin
AutoService/obj
AutoService/Properties
Install/obj
Install/Properties
AutoService
Install
AutoService/AutoService.csproj
AutoService/AutoService.Designer.cs
AutoService/AutoService.resx
AutoService/bin/Debug/AutoService.exe
AutoService/bin/Debug/Install.exe
AutoService/obj/x86/Debug/AutoService.AutoService.resources
AutoService/obj/x86/Debug/AutoService.csproj.FileListAbsolute.txt
AutoService/obj/x86/Debug/AutoService.exe
AutoService/obj/x86/Debug/AutoService.pdb
AutoService/obj/x86/Debug/AutoService.ProjectInstaller.resources
AutoService/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
AutoService/Program.cs
AutoService/ProjectInstaller.cs
AutoService/ProjectInstaller.Designer.cs
AutoService/ProjectInstaller.resx
AutoService/Properties/AssemblyInfo.cs
Install/frmMain.cs
Install/frmMain.Designer.cs
Install/frmMain.resx
Install/frmServiceStatus.cs
Install/frmServiceStatus.Designer.cs
Install/frmServiceStatus.resx
Install/Install.csproj
Install/Install.csproj.user
Install/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Install/obj/x86/Debug/Install.csproj.FileListAbsolute.txt
Install/obj/x86/Debug/Install.exe
Install/obj/x86/Debug/Install.frmMain.resources
Install/obj/x86/Debug/Install.frmServiceStatus.resources
Install/obj/x86/Debug/Install.pdb
Install/obj/x86/Debug/Install.Properties.Resources.resources
Install/Program.cs
Install/Properties/AssemblyInfo.cs
Install/Properties/Resources.Designer.cs
Install/Properties/Resources.resx
Install/Properties/Settings.Designer.cs
Install/Properties/Settings.settings
AutoService.sln
AutoService/obj/x86/Debug/TempPE
Install/obj/x86/Debug/TempPE
AutoService/obj/x86/Debug
Install/obj/x86/Debug
AutoService/bin/Debug
AutoService/obj/x86
Install/obj/x86
AutoService/bin
AutoService/obj
AutoService/Properties
Install/obj
Install/Properties
AutoService
Install
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.