Exemplo n.º 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.startServiceBtn = new MSR.LST.MediaControlButton();
     this.stopServiceBtn  = new MSR.LST.MediaControlButton();
     this.startServiceLbl = new System.Windows.Forms.Label();
     this.stopServiceLbl  = new System.Windows.Forms.Label();
     this.autoStartChkBx  = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // startServiceBtn
     //
     this.startServiceBtn.ImageType = MSR.LST.MediaControlImage.Play;
     this.startServiceBtn.Location  = new System.Drawing.Point(0, 0);
     this.startServiceBtn.Name      = "startServiceBtn";
     this.startServiceBtn.Size      = new System.Drawing.Size(24, 24);
     this.startServiceBtn.TabIndex  = 7;
     this.startServiceBtn.Click    += new System.EventHandler(this.startServiceBtn_Click);
     //
     // stopServiceBtn
     //
     this.stopServiceBtn.ImageType = MSR.LST.MediaControlImage.Stop;
     this.stopServiceBtn.Location  = new System.Drawing.Point(0, 36);
     this.stopServiceBtn.Name      = "stopServiceBtn";
     this.stopServiceBtn.Size      = new System.Drawing.Size(24, 24);
     this.stopServiceBtn.TabIndex  = 8;
     this.stopServiceBtn.Click    += new System.EventHandler(this.stopServiceBtn_Click);
     //
     // startServiceLbl
     //
     this.startServiceLbl.Location  = new System.Drawing.Point(32, 0);
     this.startServiceLbl.Name      = "startServiceLbl";
     this.startServiceLbl.Size      = new System.Drawing.Size(72, 24);
     this.startServiceLbl.TabIndex  = 5;
     this.startServiceLbl.Text      = "Start Service";
     this.startServiceLbl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // stopServiceLbl
     //
     this.stopServiceLbl.Location  = new System.Drawing.Point(32, 36);
     this.stopServiceLbl.Name      = "stopServiceLbl";
     this.stopServiceLbl.Size      = new System.Drawing.Size(72, 24);
     this.stopServiceLbl.TabIndex  = 6;
     this.stopServiceLbl.Text      = "Stop Service";
     this.stopServiceLbl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // autoStartChkBx
     //
     this.autoStartChkBx.Location        = new System.Drawing.Point(128, 32);
     this.autoStartChkBx.Name            = "autoStartChkBx";
     this.autoStartChkBx.Size            = new System.Drawing.Size(176, 28);
     this.autoStartChkBx.TabIndex        = 9;
     this.autoStartChkBx.Text            = "Automatically start this service when the system starts";
     this.autoStartChkBx.CheckedChanged += new System.EventHandler(this.autoStartChkBx_CheckedChanged);
     //
     // ServiceControlButtons
     //
     this.Controls.Add(this.startServiceBtn);
     this.Controls.Add(this.stopServiceBtn);
     this.Controls.Add(this.startServiceLbl);
     this.Controls.Add(this.stopServiceLbl);
     this.Controls.Add(this.autoStartChkBx);
     this.Name = "ServiceControlButtons";
     this.Size = new System.Drawing.Size(304, 60);
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.startServiceBtn = new MSR.LST.MediaControlButton();
     this.stopServiceBtn = new MSR.LST.MediaControlButton();
     this.startServiceLbl = new System.Windows.Forms.Label();
     this.stopServiceLbl = new System.Windows.Forms.Label();
     this.autoStartChkBx = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // startServiceBtn
     //
     this.startServiceBtn.ImageType = MSR.LST.MediaControlImage.Play;
     this.startServiceBtn.Location = new System.Drawing.Point(0, 0);
     this.startServiceBtn.Name = "startServiceBtn";
     this.startServiceBtn.Size = new System.Drawing.Size(24, 24);
     this.startServiceBtn.TabIndex = 7;
     this.startServiceBtn.Click += new System.EventHandler(this.startServiceBtn_Click);
     //
     // stopServiceBtn
     //
     this.stopServiceBtn.ImageType = MSR.LST.MediaControlImage.Stop;
     this.stopServiceBtn.Location = new System.Drawing.Point(0, 36);
     this.stopServiceBtn.Name = "stopServiceBtn";
     this.stopServiceBtn.Size = new System.Drawing.Size(24, 24);
     this.stopServiceBtn.TabIndex = 8;
     this.stopServiceBtn.Click += new System.EventHandler(this.stopServiceBtn_Click);
     //
     // startServiceLbl
     //
     this.startServiceLbl.Location = new System.Drawing.Point(32, 0);
     this.startServiceLbl.Name = "startServiceLbl";
     this.startServiceLbl.Size = new System.Drawing.Size(72, 24);
     this.startServiceLbl.TabIndex = 5;
     this.startServiceLbl.Text = "Start Service";
     this.startServiceLbl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // stopServiceLbl
     //
     this.stopServiceLbl.Location = new System.Drawing.Point(32, 36);
     this.stopServiceLbl.Name = "stopServiceLbl";
     this.stopServiceLbl.Size = new System.Drawing.Size(72, 24);
     this.stopServiceLbl.TabIndex = 6;
     this.stopServiceLbl.Text = "Stop Service";
     this.stopServiceLbl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // autoStartChkBx
     //
     this.autoStartChkBx.Location = new System.Drawing.Point(128, 32);
     this.autoStartChkBx.Name = "autoStartChkBx";
     this.autoStartChkBx.Size = new System.Drawing.Size(176, 28);
     this.autoStartChkBx.TabIndex = 9;
     this.autoStartChkBx.Text = "Automatically start this service when the system starts";
     this.autoStartChkBx.CheckedChanged += new System.EventHandler(this.autoStartChkBx_CheckedChanged);
     //
     // ServiceControlButtons
     //
     this.Controls.Add(this.startServiceBtn);
     this.Controls.Add(this.stopServiceBtn);
     this.Controls.Add(this.startServiceLbl);
     this.Controls.Add(this.stopServiceLbl);
     this.Controls.Add(this.autoStartChkBx);
     this.Name = "ServiceControlButtons";
     this.Size = new System.Drawing.Size(304, 60);
     this.ResumeLayout(false);
 }