You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
252 lines
13 KiB
252 lines
13 KiB
namespace SiaSun.LMS.LED
|
|
{
|
|
partial class Main
|
|
{
|
|
/// <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(Main));
|
|
this.btnBackRun = new System.Windows.Forms.Button();
|
|
this.btnStart = new System.Windows.Forms.Button();
|
|
this.btnStop = new System.Windows.Forms.Button();
|
|
this.LEDApply = new System.ComponentModel.BackgroundWorker();
|
|
this.lblMessage = new System.Windows.Forms.Label();
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.menuItemShow = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuItemExit = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.tsmiTOOLS = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.miDataClear = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.rchMessage = new System.Windows.Forms.RichTextBox();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnBackRun
|
|
//
|
|
this.btnBackRun.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.btnBackRun.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnBackRun.Image = ((System.Drawing.Image)(resources.GetObject("btnBackRun.Image")));
|
|
this.btnBackRun.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.btnBackRun.Location = new System.Drawing.Point(375, 2);
|
|
this.btnBackRun.Name = "btnBackRun";
|
|
this.btnBackRun.Size = new System.Drawing.Size(95, 28);
|
|
this.btnBackRun.TabIndex = 0;
|
|
this.btnBackRun.Text = "后台运行";
|
|
this.btnBackRun.UseVisualStyleBackColor = true;
|
|
this.btnBackRun.Click += new System.EventHandler(this.btnBackRun_Click);
|
|
//
|
|
// btnStart
|
|
//
|
|
this.btnStart.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnStart.Image = ((System.Drawing.Image)(resources.GetObject("btnStart.Image")));
|
|
this.btnStart.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.btnStart.Location = new System.Drawing.Point(122, 2);
|
|
this.btnStart.Name = "btnStart";
|
|
this.btnStart.Size = new System.Drawing.Size(95, 28);
|
|
this.btnStart.TabIndex = 0;
|
|
this.btnStart.Text = "启动";
|
|
this.btnStart.UseVisualStyleBackColor = true;
|
|
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
|
|
//
|
|
// btnStop
|
|
//
|
|
this.btnStop.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.btnStop.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnStop.Image = ((System.Drawing.Image)(resources.GetObject("btnStop.Image")));
|
|
this.btnStop.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.btnStop.Location = new System.Drawing.Point(250, 2);
|
|
this.btnStop.Name = "btnStop";
|
|
this.btnStop.Size = new System.Drawing.Size(95, 28);
|
|
this.btnStop.TabIndex = 0;
|
|
this.btnStop.Text = "停止";
|
|
this.btnStop.UseVisualStyleBackColor = true;
|
|
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
|
//
|
|
// LEDApply
|
|
//
|
|
this.LEDApply.WorkerSupportsCancellation = true;
|
|
this.LEDApply.DoWork += new System.ComponentModel.DoWorkEventHandler(this.LEDApply_DoWork);
|
|
//
|
|
// lblMessage
|
|
//
|
|
this.lblMessage.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.lblMessage.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblMessage.Location = new System.Drawing.Point(3, 281);
|
|
this.lblMessage.Name = "lblMessage";
|
|
this.lblMessage.Size = new System.Drawing.Size(588, 20);
|
|
this.lblMessage.TabIndex = 4;
|
|
//
|
|
// notifyIcon1
|
|
//
|
|
this.notifyIcon1.BalloonTipText = "LED控制器";
|
|
this.notifyIcon1.BalloonTipTitle = "LEDMonitor";
|
|
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|
this.notifyIcon1.Text = "LED控制器";
|
|
this.notifyIcon1.Visible = true;
|
|
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.menuItemShow,
|
|
this.menuItemExit});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(99, 48);
|
|
//
|
|
// menuItemShow
|
|
//
|
|
this.menuItemShow.Name = "menuItemShow";
|
|
this.menuItemShow.Size = new System.Drawing.Size(98, 22);
|
|
this.menuItemShow.Text = "显示";
|
|
this.menuItemShow.Click += new System.EventHandler(this.menuItemShow_Click);
|
|
//
|
|
// menuItemExit
|
|
//
|
|
this.menuItemExit.Name = "menuItemExit";
|
|
this.menuItemExit.Size = new System.Drawing.Size(98, 22);
|
|
this.menuItemExit.Text = "退出";
|
|
this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click);
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.tsmiTOOLS});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(594, 24);
|
|
this.menuStrip1.TabIndex = 15;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// tsmiTOOLS
|
|
//
|
|
this.tsmiTOOLS.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.miDataClear});
|
|
this.tsmiTOOLS.Name = "tsmiTOOLS";
|
|
this.tsmiTOOLS.Size = new System.Drawing.Size(62, 20);
|
|
this.tsmiTOOLS.Text = "维护(&M)";
|
|
//
|
|
// miDataClear
|
|
//
|
|
this.miDataClear.Name = "miDataClear";
|
|
this.miDataClear.Size = new System.Drawing.Size(152, 22);
|
|
this.miDataClear.Text = "数据清理";
|
|
this.miDataClear.Click += new System.EventHandler(this.miDataClear_Click);
|
|
//
|
|
// rchMessage
|
|
//
|
|
this.rchMessage.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.rchMessage.Location = new System.Drawing.Point(3, 33);
|
|
this.rchMessage.Name = "rchMessage";
|
|
this.rchMessage.Size = new System.Drawing.Size(588, 208);
|
|
this.rchMessage.TabIndex = 14;
|
|
this.rchMessage.Text = "";
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.ColumnCount = 1;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.menuStrip1, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblMessage, 0, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.rchMessage, 0, 1);
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 4;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(594, 301);
|
|
this.tableLayoutPanel1.TabIndex = 16;
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.btnBackRun);
|
|
this.panel1.Controls.Add(this.btnStart);
|
|
this.panel1.Controls.Add(this.btnStop);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel1.Location = new System.Drawing.Point(3, 247);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(588, 31);
|
|
this.panel1.TabIndex = 17;
|
|
//
|
|
// Main
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(594, 301);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.MaximumSize = new System.Drawing.Size(600, 359);
|
|
this.Name = "Main";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "LED控制器";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.Load += new System.EventHandler(this.Main_Load);
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btnBackRun;
|
|
private System.Windows.Forms.Button btnStart;
|
|
private System.Windows.Forms.Button btnStop;
|
|
private System.ComponentModel.BackgroundWorker LEDApply;
|
|
private System.Windows.Forms.Label lblMessage;
|
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem menuItemShow;
|
|
private System.Windows.Forms.ToolStripMenuItem menuItemExit;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiTOOLS;
|
|
private System.Windows.Forms.ToolStripMenuItem miDataClear;
|
|
private System.Windows.Forms.RichTextBox rchMessage;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
}
|
|
}
|
|
|