Added C# CMS Client
This commit is contained in:
Generated
+49
-18
@@ -32,50 +32,79 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerControlWindow));
|
||||
this.stopServerButton = new System.Windows.Forms.Button();
|
||||
this.openUiButton = new System.Windows.Forms.Button();
|
||||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.StepNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.NotifyIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.StopServerItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.NotifyIconMenu.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stopServerButton
|
||||
//
|
||||
this.stopServerButton.Location = new System.Drawing.Point(7, 7);
|
||||
this.stopServerButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.stopServerButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.stopServerButton.Location = new System.Drawing.Point(122, 18);
|
||||
this.stopServerButton.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.stopServerButton.Name = "stopServerButton";
|
||||
this.stopServerButton.Size = new System.Drawing.Size(97, 37);
|
||||
this.stopServerButton.Size = new System.Drawing.Size(107, 43);
|
||||
this.stopServerButton.TabIndex = 0;
|
||||
this.stopServerButton.Text = "Server Stop";
|
||||
this.stopServerButton.Text = "Close CMS Server";
|
||||
this.stopServerButton.UseVisualStyleBackColor = true;
|
||||
this.stopServerButton.Click += new System.EventHandler(this.StopServerButton_Click);
|
||||
//
|
||||
// openUiButton
|
||||
//
|
||||
this.openUiButton.Location = new System.Drawing.Point(115, 7);
|
||||
this.openUiButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.openUiButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.openUiButton.Location = new System.Drawing.Point(11, 18);
|
||||
this.openUiButton.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.openUiButton.Name = "openUiButton";
|
||||
this.openUiButton.Size = new System.Drawing.Size(97, 37);
|
||||
this.openUiButton.Size = new System.Drawing.Size(107, 43);
|
||||
this.openUiButton.TabIndex = 1;
|
||||
this.openUiButton.Text = "Open UI";
|
||||
this.openUiButton.Text = "Open CMS Client";
|
||||
this.openUiButton.UseVisualStyleBackColor = true;
|
||||
this.openUiButton.Click += new System.EventHandler(this.OpenUiButton_Click);
|
||||
//
|
||||
// notifyIcon1
|
||||
// StepNotifyIcon
|
||||
//
|
||||
this.notifyIcon1.BalloonTipText = "CMS";
|
||||
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
||||
this.notifyIcon1.Text = "CMS Server";
|
||||
this.notifyIcon1.Visible = true;
|
||||
this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
|
||||
this.StepNotifyIcon.BalloonTipText = "CMS Step Server";
|
||||
this.StepNotifyIcon.ContextMenuStrip = this.NotifyIconMenu;
|
||||
this.StepNotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("StepNotifyIcon.Icon")));
|
||||
this.StepNotifyIcon.Text = "CMS Server";
|
||||
this.StepNotifyIcon.Visible = true;
|
||||
this.StepNotifyIcon.Click += new System.EventHandler(this.notifyIcon1_Click);
|
||||
//
|
||||
// NotifyIconMenu
|
||||
//
|
||||
this.NotifyIconMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.StopServerItem});
|
||||
this.NotifyIconMenu.Name = "NotifyIconMenu";
|
||||
this.NotifyIconMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
|
||||
this.NotifyIconMenu.Size = new System.Drawing.Size(167, 26);
|
||||
//
|
||||
// StopServerItem
|
||||
//
|
||||
this.StopServerItem.Name = "StopServerItem";
|
||||
this.StopServerItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.StopServerItem.Text = "Close CMS Server";
|
||||
this.StopServerItem.Click += new System.EventHandler(this.StopServerItem_Click);
|
||||
//
|
||||
// ServerControlWindow
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(218, 50);
|
||||
this.ClientSize = new System.Drawing.Size(239, 72);
|
||||
this.Controls.Add(this.openUiButton);
|
||||
this.Controls.Add(this.stopServerButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "ServerControlWindow";
|
||||
this.Text = "Step";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "CMS Step - Control Window";
|
||||
this.NotifyIconMenu.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -84,6 +113,8 @@
|
||||
|
||||
private System.Windows.Forms.Button stopServerButton;
|
||||
private System.Windows.Forms.Button openUiButton;
|
||||
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
||||
}
|
||||
private System.Windows.Forms.NotifyIcon StepNotifyIcon;
|
||||
private System.Windows.Forms.ContextMenuStrip NotifyIconMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem StopServerItem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user