|
@@ -23,8 +23,8 @@
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
|
|
/// <summary>
|
|
|
- /// Required method for Designer support - do not modify
|
|
|
- /// the contents of this method with the code editor.
|
|
|
+ /// 设计器支持所需的方法 - 不要修改
|
|
|
+ /// 使用代码编辑器修改此方法的内容。
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
@@ -38,6 +38,8 @@
|
|
|
this.toolStripStatusLabel_user = new System.Windows.Forms.ToolStripStatusLabel();
|
|
|
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
+ this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
|
|
+ this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
|
this.btnMES = new System.Windows.Forms.Button();
|
|
|
this.Btn_DevAlarm = new System.Windows.Forms.Button();
|
|
|
this.btnOrder = new System.Windows.Forms.Button();
|
|
@@ -48,31 +50,34 @@
|
|
|
this.button_Login = new System.Windows.Forms.Button();
|
|
|
this.button_SystemSet = new System.Windows.Forms.Button();
|
|
|
this.button_Alarm = new System.Windows.Forms.Button();
|
|
|
- this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
|
|
- this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
|
this.statusStrip1.SuspendLayout();
|
|
|
this.panel2.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// panelMain
|
|
|
//
|
|
|
- this.panelMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.panelMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.panelMain.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
|
- this.panelMain.Location = new System.Drawing.Point(2, 98);
|
|
|
- this.panelMain.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.panelMain.Location = new System.Drawing.Point(1, 65);
|
|
|
this.panelMain.Name = "panelMain";
|
|
|
- this.panelMain.Size = new System.Drawing.Size(1610, 916);
|
|
|
+ this.panelMain.Size = new System.Drawing.Size(1073, 611);
|
|
|
this.panelMain.TabIndex = 1;
|
|
|
//
|
|
|
// statusStrip1
|
|
|
//
|
|
|
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
|
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1, this.toolStripStatusLabel_Time, this.toolStripStatusLabel2, this.toolStripStatusLabel_user });
|
|
|
+ this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
+ this.toolStripStatusLabel1,
|
|
|
+ this.toolStripStatusLabel_Time,
|
|
|
+ this.toolStripStatusLabel2,
|
|
|
+ this.toolStripStatusLabel_user});
|
|
|
this.statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
|
|
- this.statusStrip1.Location = new System.Drawing.Point(0, 1022);
|
|
|
+ this.statusStrip1.Location = new System.Drawing.Point(0, 679);
|
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
|
- this.statusStrip1.Padding = new System.Windows.Forms.Padding(3, 0, 34, 0);
|
|
|
- this.statusStrip1.Size = new System.Drawing.Size(1626, 30);
|
|
|
+ this.statusStrip1.Padding = new System.Windows.Forms.Padding(2, 0, 23, 0);
|
|
|
+ this.statusStrip1.Size = new System.Drawing.Size(1084, 22);
|
|
|
this.statusStrip1.TabIndex = 2;
|
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
|
//
|
|
@@ -80,19 +85,19 @@
|
|
|
//
|
|
|
this.toolStripStatusLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
|
|
- this.toolStripStatusLabel1.Size = new System.Drawing.Size(82, 25);
|
|
|
+ this.toolStripStatusLabel1.Size = new System.Drawing.Size(56, 17);
|
|
|
this.toolStripStatusLabel1.Text = "小米汽车";
|
|
|
//
|
|
|
// toolStripStatusLabel_Time
|
|
|
//
|
|
|
this.toolStripStatusLabel_Time.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
|
this.toolStripStatusLabel_Time.Name = "toolStripStatusLabel_Time";
|
|
|
- this.toolStripStatusLabel_Time.Size = new System.Drawing.Size(0, 25);
|
|
|
+ this.toolStripStatusLabel_Time.Size = new System.Drawing.Size(0, 17);
|
|
|
//
|
|
|
// toolStripStatusLabel2
|
|
|
//
|
|
|
this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
|
|
|
- this.toolStripStatusLabel2.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.toolStripStatusLabel2.Size = new System.Drawing.Size(68, 17);
|
|
|
this.toolStripStatusLabel2.Text = "当前用户:";
|
|
|
//
|
|
|
// toolStripStatusLabel_user
|
|
@@ -100,7 +105,7 @@
|
|
|
this.toolStripStatusLabel_user.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
this.toolStripStatusLabel_user.ForeColor = System.Drawing.SystemColors.MenuHighlight;
|
|
|
this.toolStripStatusLabel_user.Name = "toolStripStatusLabel_user";
|
|
|
- this.toolStripStatusLabel_user.Size = new System.Drawing.Size(66, 25);
|
|
|
+ this.toolStripStatusLabel_user.Size = new System.Drawing.Size(44, 17);
|
|
|
this.toolStripStatusLabel_user.Text = "操作员";
|
|
|
//
|
|
|
// imageList1
|
|
@@ -163,7 +168,8 @@
|
|
|
//
|
|
|
// panel2
|
|
|
//
|
|
|
- this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
|
this.panel2.Controls.Add(this.btnMES);
|
|
|
this.panel2.Controls.Add(this.Btn_DevAlarm);
|
|
@@ -175,12 +181,16 @@
|
|
|
this.panel2.Controls.Add(this.button_Login);
|
|
|
this.panel2.Controls.Add(this.button_SystemSet);
|
|
|
this.panel2.Controls.Add(this.button_Alarm);
|
|
|
- this.panel2.Location = new System.Drawing.Point(2, 6);
|
|
|
- this.panel2.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.panel2.Location = new System.Drawing.Point(1, 4);
|
|
|
this.panel2.Name = "panel2";
|
|
|
- this.panel2.Size = new System.Drawing.Size(1610, 82);
|
|
|
+ this.panel2.Size = new System.Drawing.Size(1073, 55);
|
|
|
this.panel2.TabIndex = 3;
|
|
|
//
|
|
|
+ // timer1
|
|
|
+ //
|
|
|
+ this.timer1.Interval = 1800000;
|
|
|
+ this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
|
+ //
|
|
|
// btnMES
|
|
|
//
|
|
|
this.btnMES.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
@@ -188,10 +198,9 @@
|
|
|
this.btnMES.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.btnMES.ImageIndex = 51;
|
|
|
this.btnMES.ImageList = this.imageList1;
|
|
|
- this.btnMES.Location = new System.Drawing.Point(522, 6);
|
|
|
- this.btnMES.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.btnMES.Location = new System.Drawing.Point(348, 4);
|
|
|
this.btnMES.Name = "btnMES";
|
|
|
- this.btnMES.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.btnMES.Size = new System.Drawing.Size(50, 48);
|
|
|
this.btnMES.TabIndex = 7;
|
|
|
this.toolTip1.SetToolTip(this.btnMES, "MES手动交互");
|
|
|
this.btnMES.UseVisualStyleBackColor = false;
|
|
@@ -203,10 +212,9 @@
|
|
|
this.Btn_DevAlarm.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.Btn_DevAlarm.ImageIndex = 0;
|
|
|
this.Btn_DevAlarm.ImageList = this.imageList1;
|
|
|
- this.Btn_DevAlarm.Location = new System.Drawing.Point(351, 4);
|
|
|
- this.Btn_DevAlarm.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.Btn_DevAlarm.Location = new System.Drawing.Point(234, 3);
|
|
|
this.Btn_DevAlarm.Name = "Btn_DevAlarm";
|
|
|
- this.Btn_DevAlarm.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.Btn_DevAlarm.Size = new System.Drawing.Size(50, 48);
|
|
|
this.Btn_DevAlarm.TabIndex = 6;
|
|
|
this.toolTip1.SetToolTip(this.Btn_DevAlarm, "设备报警统计面板");
|
|
|
this.Btn_DevAlarm.UseVisualStyleBackColor = false;
|
|
@@ -218,10 +226,9 @@
|
|
|
this.btnOrder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.btnOrder.ImageIndex = 47;
|
|
|
this.btnOrder.ImageList = this.imageList1;
|
|
|
- this.btnOrder.Location = new System.Drawing.Point(183, 4);
|
|
|
- this.btnOrder.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.btnOrder.Location = new System.Drawing.Point(122, 3);
|
|
|
this.btnOrder.Name = "btnOrder";
|
|
|
- this.btnOrder.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.btnOrder.Size = new System.Drawing.Size(50, 48);
|
|
|
this.btnOrder.TabIndex = 5;
|
|
|
this.toolTip1.SetToolTip(this.btnOrder, "订单维护");
|
|
|
this.btnOrder.UseVisualStyleBackColor = false;
|
|
@@ -234,10 +241,9 @@
|
|
|
this.btnPLCDB.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.btnPLCDB.ImageIndex = 49;
|
|
|
this.btnPLCDB.ImageList = this.imageList1;
|
|
|
- this.btnPLCDB.Location = new System.Drawing.Point(436, 6);
|
|
|
- this.btnPLCDB.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.btnPLCDB.Location = new System.Drawing.Point(291, 4);
|
|
|
this.btnPLCDB.Name = "btnPLCDB";
|
|
|
- this.btnPLCDB.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.btnPLCDB.Size = new System.Drawing.Size(50, 48);
|
|
|
this.btnPLCDB.TabIndex = 4;
|
|
|
this.toolTip1.SetToolTip(this.btnPLCDB, "PLC交互");
|
|
|
this.btnPLCDB.UseVisualStyleBackColor = false;
|
|
@@ -251,10 +257,9 @@
|
|
|
this.button_Home.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.button_Home.ImageIndex = 8;
|
|
|
this.button_Home.ImageList = this.imageList1;
|
|
|
- this.button_Home.Location = new System.Drawing.Point(96, 3);
|
|
|
- this.button_Home.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.button_Home.Location = new System.Drawing.Point(64, 2);
|
|
|
this.button_Home.Name = "button_Home";
|
|
|
- this.button_Home.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.button_Home.Size = new System.Drawing.Size(50, 48);
|
|
|
this.button_Home.TabIndex = 3;
|
|
|
this.toolTip1.SetToolTip(this.button_Home, "首页");
|
|
|
this.button_Home.UseVisualStyleBackColor = false;
|
|
@@ -266,10 +271,9 @@
|
|
|
this.Openfile.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.Openfile.ImageIndex = 46;
|
|
|
this.Openfile.ImageList = this.imageList1;
|
|
|
- this.Openfile.Location = new System.Drawing.Point(606, 6);
|
|
|
- this.Openfile.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.Openfile.Location = new System.Drawing.Point(404, 4);
|
|
|
this.Openfile.Name = "Openfile";
|
|
|
- this.Openfile.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.Openfile.Size = new System.Drawing.Size(50, 48);
|
|
|
this.Openfile.TabIndex = 2;
|
|
|
this.toolTip1.SetToolTip(this.Openfile, "日志文件");
|
|
|
this.Openfile.UseVisualStyleBackColor = false;
|
|
@@ -282,10 +286,9 @@
|
|
|
this.button_Other.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.button_Other.ImageIndex = 41;
|
|
|
this.button_Other.ImageList = this.imageList1;
|
|
|
- this.button_Other.Location = new System.Drawing.Point(1508, 9);
|
|
|
- this.button_Other.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.button_Other.Location = new System.Drawing.Point(1005, 6);
|
|
|
this.button_Other.Name = "button_Other";
|
|
|
- this.button_Other.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.button_Other.Size = new System.Drawing.Size(50, 48);
|
|
|
this.button_Other.TabIndex = 2;
|
|
|
this.button_Other.UseVisualStyleBackColor = true;
|
|
|
this.button_Other.Click += new System.EventHandler(this.button_vision_Click);
|
|
@@ -298,10 +301,9 @@
|
|
|
this.button_Login.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.button_Login.ImageIndex = 15;
|
|
|
this.button_Login.ImageList = this.imageList1;
|
|
|
- this.button_Login.Location = new System.Drawing.Point(12, 3);
|
|
|
- this.button_Login.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.button_Login.Location = new System.Drawing.Point(8, 2);
|
|
|
this.button_Login.Name = "button_Login";
|
|
|
- this.button_Login.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.button_Login.Size = new System.Drawing.Size(50, 48);
|
|
|
this.button_Login.TabIndex = 0;
|
|
|
this.toolTip1.SetToolTip(this.button_Login, "用户登录");
|
|
|
this.button_Login.UseVisualStyleBackColor = false;
|
|
@@ -314,10 +316,9 @@
|
|
|
this.button_SystemSet.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.button_SystemSet.ImageIndex = 17;
|
|
|
this.button_SystemSet.ImageList = this.imageList1;
|
|
|
- this.button_SystemSet.Location = new System.Drawing.Point(690, 6);
|
|
|
- this.button_SystemSet.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.button_SystemSet.Location = new System.Drawing.Point(460, 4);
|
|
|
this.button_SystemSet.Name = "button_SystemSet";
|
|
|
- this.button_SystemSet.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.button_SystemSet.Size = new System.Drawing.Size(50, 48);
|
|
|
this.button_SystemSet.TabIndex = 0;
|
|
|
this.toolTip1.SetToolTip(this.button_SystemSet, "软件设置");
|
|
|
this.button_SystemSet.UseVisualStyleBackColor = false;
|
|
@@ -329,32 +330,25 @@
|
|
|
this.button_Alarm.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.button_Alarm.ImageIndex = 3;
|
|
|
this.button_Alarm.ImageList = this.imageList1;
|
|
|
- this.button_Alarm.Location = new System.Drawing.Point(267, 4);
|
|
|
- this.button_Alarm.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.button_Alarm.Location = new System.Drawing.Point(178, 3);
|
|
|
this.button_Alarm.Name = "button_Alarm";
|
|
|
- this.button_Alarm.Size = new System.Drawing.Size(75, 72);
|
|
|
+ this.button_Alarm.Size = new System.Drawing.Size(50, 48);
|
|
|
this.button_Alarm.TabIndex = 0;
|
|
|
this.toolTip1.SetToolTip(this.button_Alarm, "加工与点检数据");
|
|
|
this.button_Alarm.UseVisualStyleBackColor = false;
|
|
|
this.button_Alarm.Click += new System.EventHandler(this.button_Alarm_Click);
|
|
|
//
|
|
|
- // timer1
|
|
|
- //
|
|
|
- this.timer1.Interval = 1800000;
|
|
|
- this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
|
- //
|
|
|
// Form_Main
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
|
- this.ClientSize = new System.Drawing.Size(1626, 1052);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1084, 701);
|
|
|
this.Controls.Add(this.panel2);
|
|
|
this.Controls.Add(this.statusStrip1);
|
|
|
this.Controls.Add(this.panelMain);
|
|
|
this.HelpButton = true;
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
- this.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.Name = "Form_Main";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
this.Text = "N801A上位机-Xiaomi";
|
|
@@ -365,6 +359,7 @@
|
|
|
this.panel2.ResumeLayout(false);
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
#endregion
|