namespace POSV.WindowsService { partial class ProjectInstaller { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region 组件设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.ProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller(); this.MessagingServerInstaller = new System.ServiceProcess.ServiceInstaller(); // // ProcessInstaller // this.ProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem; this.ProcessInstaller.Password = null; this.ProcessInstaller.Username = null; // // MessagingServerInstaller // this.MessagingServerInstaller.Description = "POSV MessagingServer"; this.MessagingServerInstaller.DisplayName = "POSV MessagingServer"; this.MessagingServerInstaller.ServiceName = "POSVServer"; this.MessagingServerInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic; // // ProjectInstaller // this.Installers.AddRange(new System.Configuration.Install.Installer[] { this.ProcessInstaller, this.MessagingServerInstaller}); } #endregion private System.ServiceProcess.ServiceProcessInstaller ProcessInstaller; private System.ServiceProcess.ServiceInstaller MessagingServerInstaller; } }