137 lines
5.6 KiB
C#
137 lines
5.6 KiB
C#
|
namespace RGDWCSServices
|
|||
|
{
|
|||
|
partial class MainForm
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 必需的设计器变量。
|
|||
|
/// </summary>
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 清理所有正在使用的资源。
|
|||
|
/// </summary>
|
|||
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows 窗体设计器生成的代码
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 设计器支持所需的方法 - 不要修改
|
|||
|
/// 使用代码编辑器修改此方法的内容。
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
this.components = new System.ComponentModel.Container();
|
|||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|||
|
this.button1 = new System.Windows.Forms.Button();
|
|||
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|||
|
this.button2 = new System.Windows.Forms.Button();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|||
|
this.button3 = new System.Windows.Forms.Button();
|
|||
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// button1
|
|||
|
//
|
|||
|
this.button1.Location = new System.Drawing.Point(12, 12);
|
|||
|
this.button1.Name = "button1";
|
|||
|
this.button1.Size = new System.Drawing.Size(88, 23);
|
|||
|
this.button1.TabIndex = 0;
|
|||
|
this.button1.Text = "开启服务";
|
|||
|
this.button1.UseVisualStyleBackColor = true;
|
|||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|||
|
//
|
|||
|
// notifyIcon1
|
|||
|
//
|
|||
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|||
|
this.notifyIcon1.Text = "notifyIcon1";
|
|||
|
this.notifyIcon1.Visible = true;
|
|||
|
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
|||
|
//
|
|||
|
// button2
|
|||
|
//
|
|||
|
this.button2.Location = new System.Drawing.Point(106, 12);
|
|||
|
this.button2.Name = "button2";
|
|||
|
this.button2.Size = new System.Drawing.Size(88, 23);
|
|||
|
this.button2.TabIndex = 1;
|
|||
|
this.button2.Text = "查看日志";
|
|||
|
this.button2.UseVisualStyleBackColor = true;
|
|||
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(106, 46);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(29, 12);
|
|||
|
this.label1.TabIndex = 2;
|
|||
|
this.label1.Text = "状态";
|
|||
|
//
|
|||
|
// checkBox1
|
|||
|
//
|
|||
|
this.checkBox1.AutoSize = true;
|
|||
|
this.checkBox1.Checked = true;
|
|||
|
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
|
|||
|
this.checkBox1.Location = new System.Drawing.Point(200, 16);
|
|||
|
this.checkBox1.Name = "checkBox1";
|
|||
|
this.checkBox1.Size = new System.Drawing.Size(120, 16);
|
|||
|
this.checkBox1.TabIndex = 3;
|
|||
|
this.checkBox1.Text = "关闭按钮隐藏窗体";
|
|||
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// button3
|
|||
|
//
|
|||
|
this.button3.Location = new System.Drawing.Point(12, 41);
|
|||
|
this.button3.Name = "button3";
|
|||
|
this.button3.Size = new System.Drawing.Size(88, 23);
|
|||
|
this.button3.TabIndex = 4;
|
|||
|
this.button3.Text = "关闭服务";
|
|||
|
this.button3.UseVisualStyleBackColor = true;
|
|||
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
|||
|
//
|
|||
|
// timer1
|
|||
|
//
|
|||
|
this.timer1.Enabled = true;
|
|||
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|||
|
//
|
|||
|
// MainForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(337, 80);
|
|||
|
this.Controls.Add(this.button3);
|
|||
|
this.Controls.Add(this.checkBox1);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.button2);
|
|||
|
this.Controls.Add(this.button1);
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.Name = "MainForm";
|
|||
|
this.Text = "WCS接口服务";
|
|||
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
|||
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.Button button1;
|
|||
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|||
|
private System.Windows.Forms.Button button2;
|
|||
|
private System.Windows.Forms.Label label1;
|
|||
|
private System.Windows.Forms.CheckBox checkBox1;
|
|||
|
private System.Windows.Forms.Button button3;
|
|||
|
private System.Windows.Forms.Timer timer1;
|
|||
|
}
|
|||
|
}
|
|||
|
|