25111702 调整登陆界面允许添加超级管理员新密码

This commit is contained in:
moxiliang
2025-11-17 16:52:59 +08:00
parent 6958075f22
commit 220a794a5b
27 changed files with 350 additions and 340 deletions

332
SLC1-N/Form1.Designer.cs generated
View File

@@ -147,7 +147,9 @@
this.chk_SaomaFocus = new System.Windows.Forms.CheckBox();
this.bt_test2 = new System.Windows.Forms.Button();
this.lb_User = new System.Windows.Forms.Label();
this.pb_MESswitch = new System.Windows.Forms.PictureBox();
this.lb_MESswitch = new System.Windows.Forms.Label();
this.pb_PLC_CommunicationStatus = new System.Windows.Forms.PictureBox();
this.label4 = new System.Windows.Forms.Label();
this.label22 = new System.Windows.Forms.Label();
this.lb_NowTime = new System.Windows.Forms.Label();
@@ -170,9 +172,13 @@
this.tb_CH1Code = new Sunny.UI.UITextBox();
this.bt_code1clear = new System.Windows.Forms.Button();
this.label34 = new System.Windows.Forms.Label();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.label31 = new System.Windows.Forms.Label();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.label28 = new System.Windows.Forms.Label();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.label18 = new System.Windows.Forms.Label();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.lb_CH1MES_INstatus = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.tb_CH1codeLeng = new System.Windows.Forms.TextBox();
@@ -207,15 +213,19 @@
this.label36 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.lb_CH3ProcessTime4 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label44 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.lb_CH3ProcessTime3 = new System.Windows.Forms.Label();
this.pictureBox6 = new System.Windows.Forms.PictureBox();
this.label48 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.lb_CH3ProcessTime2 = new System.Windows.Forms.Label();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.label53 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.lb_CH3ProcessTime1 = new System.Windows.Forms.Label();
this.pictureBox8 = new System.Windows.Forms.PictureBox();
this.label57 = new System.Windows.Forms.Label();
this.lb_CH3MES_INstatus = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
@@ -283,9 +293,13 @@
this.lb_Total = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.pictureBox9 = new System.Windows.Forms.PictureBox();
this.label21 = new System.Windows.Forms.Label();
this.pictureBox10 = new System.Windows.Forms.PictureBox();
this.label24 = new System.Windows.Forms.Label();
this.pictureBox11 = new System.Windows.Forms.PictureBox();
this.label25 = new System.Windows.Forms.Label();
this.pictureBox12 = new System.Windows.Forms.PictureBox();
this.SerialPort_CH3Saoma = new System.IO.Ports.SerialPort(this.components);
this.SerialPort_CH4Saoma = new System.IO.Ports.SerialPort(this.components);
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -294,42 +308,28 @@
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DataGridView2 = new Sunny.UI.UIDataGridView();
this.pictureBox9 = new System.Windows.Forms.PictureBox();
this.pictureBox10 = new System.Windows.Forms.PictureBox();
this.pictureBox11 = new System.Windows.Forms.PictureBox();
this.pictureBox12 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.pictureBox6 = new System.Windows.Forms.PictureBox();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.pictureBox8 = new System.Windows.Forms.PictureBox();
this.pb_MESswitch = new System.Windows.Forms.PictureBox();
this.pb_PLC_CommunicationStatus = new System.Windows.Forms.PictureBox();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.uiGroupBox5.SuspendLayout();
this.nb_MainMenu.SuspendLayout();
this.uiGroupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DataGridView1)).BeginInit();
this.uiGroupBox2.SuspendLayout();
this.uiGroupBox3.SuspendLayout();
this.uiGroupBox4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DataGridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_MESswitch)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_PLC_CommunicationStatus)).BeginInit();
this.uiGroupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.DataGridView1)).BeginInit();
this.uiGroupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit();
this.uiGroupBox3.SuspendLayout();
this.uiGroupBox4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.DataGridView2)).BeginInit();
this.SuspendLayout();
//
// SerialPort_CH1Saoma
@@ -1078,6 +1078,14 @@
this.lb_User.Text = "label15";
this.lb_User.TabIndexChanged += new System.EventHandler(this.Admin_TabIndexChanged);
//
// pb_MESswitch
//
this.pb_MESswitch.Location = new System.Drawing.Point(542, 15);
this.pb_MESswitch.Name = "pb_MESswitch";
this.pb_MESswitch.Size = new System.Drawing.Size(52, 31);
this.pb_MESswitch.TabIndex = 454;
this.pb_MESswitch.TabStop = false;
//
// lb_MESswitch
//
this.lb_MESswitch.AutoSize = true;
@@ -1087,6 +1095,15 @@
this.lb_MESswitch.TabIndex = 453;
this.lb_MESswitch.Text = "MES离线";
//
// pb_PLC_CommunicationStatus
//
this.pb_PLC_CommunicationStatus.BackColor = System.Drawing.Color.Silver;
this.pb_PLC_CommunicationStatus.Location = new System.Drawing.Point(387, 16);
this.pb_PLC_CommunicationStatus.Name = "pb_PLC_CommunicationStatus";
this.pb_PLC_CommunicationStatus.Size = new System.Drawing.Size(52, 28);
this.pb_PLC_CommunicationStatus.TabIndex = 452;
this.pb_PLC_CommunicationStatus.TabStop = false;
//
// label4
//
this.label4.AutoSize = true;
@@ -1402,6 +1419,15 @@
this.label34.Text = "正压模式";
this.label34.Visible = false;
//
// pictureBox5
//
this.pictureBox5.Location = new System.Drawing.Point(609, 264);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(43, 27);
this.pictureBox5.TabIndex = 446;
this.pictureBox5.TabStop = false;
this.pictureBox5.Visible = false;
//
// label31
//
this.label31.AutoSize = true;
@@ -1414,6 +1440,15 @@
this.label31.Text = "负压模式";
this.label31.Visible = false;
//
// pictureBox4
//
this.pictureBox4.Location = new System.Drawing.Point(477, 264);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(43, 27);
this.pictureBox4.TabIndex = 444;
this.pictureBox4.TabStop = false;
this.pictureBox4.Visible = false;
//
// label28
//
this.label28.AutoSize = true;
@@ -1425,6 +1460,14 @@
this.label28.TabIndex = 443;
this.label28.Text = "扫码完成";
//
// pictureBox3
//
this.pictureBox3.Location = new System.Drawing.Point(302, 268);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(43, 27);
this.pictureBox3.TabIndex = 442;
this.pictureBox3.TabStop = false;
//
// label18
//
this.label18.AutoSize = true;
@@ -1436,6 +1479,14 @@
this.label18.TabIndex = 441;
this.label18.Text = "开始扫码";
//
// pictureBox2
//
this.pictureBox2.Location = new System.Drawing.Point(123, 268);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 27);
this.pictureBox2.TabIndex = 440;
this.pictureBox2.TabStop = false;
//
// lb_CH1MES_INstatus
//
this.lb_CH1MES_INstatus.AutoSize = true;
@@ -1866,6 +1917,15 @@
this.lb_CH3ProcessTime4.TabIndex = 470;
this.lb_CH3ProcessTime4.Text = "##";
//
// pictureBox1
//
this.pictureBox1.Location = new System.Drawing.Point(609, 264);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(43, 27);
this.pictureBox1.TabIndex = 446;
this.pictureBox1.TabStop = false;
this.pictureBox1.Visible = false;
//
// label44
//
this.label44.AutoSize = true;
@@ -1901,6 +1961,15 @@
this.lb_CH3ProcessTime3.TabIndex = 468;
this.lb_CH3ProcessTime3.Text = "##";
//
// pictureBox6
//
this.pictureBox6.Location = new System.Drawing.Point(477, 264);
this.pictureBox6.Name = "pictureBox6";
this.pictureBox6.Size = new System.Drawing.Size(43, 27);
this.pictureBox6.TabIndex = 444;
this.pictureBox6.TabStop = false;
this.pictureBox6.Visible = false;
//
// label48
//
this.label48.AutoSize = true;
@@ -1935,6 +2004,14 @@
this.lb_CH3ProcessTime2.TabIndex = 466;
this.lb_CH3ProcessTime2.Text = "##";
//
// pictureBox7
//
this.pictureBox7.Location = new System.Drawing.Point(302, 268);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(43, 27);
this.pictureBox7.TabIndex = 442;
this.pictureBox7.TabStop = false;
//
// label53
//
this.label53.AutoSize = true;
@@ -1969,6 +2046,14 @@
this.lb_CH3ProcessTime1.TabIndex = 464;
this.lb_CH3ProcessTime1.Text = "##";
//
// pictureBox8
//
this.pictureBox8.Location = new System.Drawing.Point(123, 268);
this.pictureBox8.Name = "pictureBox8";
this.pictureBox8.Size = new System.Drawing.Size(43, 27);
this.pictureBox8.TabIndex = 440;
this.pictureBox8.TabStop = false;
//
// label57
//
this.label57.AutoSize = true;
@@ -2782,6 +2867,15 @@
this.label17.Text = "正压模式";
this.label17.Visible = false;
//
// pictureBox9
//
this.pictureBox9.Location = new System.Drawing.Point(609, 264);
this.pictureBox9.Name = "pictureBox9";
this.pictureBox9.Size = new System.Drawing.Size(43, 27);
this.pictureBox9.TabIndex = 446;
this.pictureBox9.TabStop = false;
this.pictureBox9.Visible = false;
//
// label21
//
this.label21.AutoSize = true;
@@ -2794,6 +2888,15 @@
this.label21.Text = "负压模式";
this.label21.Visible = false;
//
// pictureBox10
//
this.pictureBox10.Location = new System.Drawing.Point(477, 264);
this.pictureBox10.Name = "pictureBox10";
this.pictureBox10.Size = new System.Drawing.Size(43, 27);
this.pictureBox10.TabIndex = 444;
this.pictureBox10.TabStop = false;
this.pictureBox10.Visible = false;
//
// label24
//
this.label24.AutoSize = true;
@@ -2805,6 +2908,14 @@
this.label24.TabIndex = 443;
this.label24.Text = "扫码完成";
//
// pictureBox11
//
this.pictureBox11.Location = new System.Drawing.Point(302, 268);
this.pictureBox11.Name = "pictureBox11";
this.pictureBox11.Size = new System.Drawing.Size(43, 27);
this.pictureBox11.TabIndex = 442;
this.pictureBox11.TabStop = false;
//
// label25
//
this.label25.AutoSize = true;
@@ -2816,6 +2927,14 @@
this.label25.TabIndex = 441;
this.label25.Text = "开始扫码";
//
// pictureBox12
//
this.pictureBox12.Location = new System.Drawing.Point(123, 268);
this.pictureBox12.Name = "pictureBox12";
this.pictureBox12.Size = new System.Drawing.Size(43, 27);
this.pictureBox12.TabIndex = 440;
this.pictureBox12.TabStop = false;
//
// SerialPort_CH3Saoma
//
this.SerialPort_CH3Saoma.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.SerialPort_CH3Saoma_DataReceived);
@@ -2922,125 +3041,6 @@
this.DataGridView2.TabIndex = 439;
this.DataGridView2.RowPrePaint += new System.Windows.Forms.DataGridViewRowPrePaintEventHandler(this.DataGridView2_RowPrePaint);
//
// pictureBox9
//
this.pictureBox9.Location = new System.Drawing.Point(609, 264);
this.pictureBox9.Name = "pictureBox9";
this.pictureBox9.Size = new System.Drawing.Size(43, 27);
this.pictureBox9.TabIndex = 446;
this.pictureBox9.TabStop = false;
this.pictureBox9.Visible = false;
//
// pictureBox10
//
this.pictureBox10.Location = new System.Drawing.Point(477, 264);
this.pictureBox10.Name = "pictureBox10";
this.pictureBox10.Size = new System.Drawing.Size(43, 27);
this.pictureBox10.TabIndex = 444;
this.pictureBox10.TabStop = false;
this.pictureBox10.Visible = false;
//
// pictureBox11
//
this.pictureBox11.Location = new System.Drawing.Point(302, 268);
this.pictureBox11.Name = "pictureBox11";
this.pictureBox11.Size = new System.Drawing.Size(43, 27);
this.pictureBox11.TabIndex = 442;
this.pictureBox11.TabStop = false;
//
// pictureBox12
//
this.pictureBox12.Location = new System.Drawing.Point(123, 268);
this.pictureBox12.Name = "pictureBox12";
this.pictureBox12.Size = new System.Drawing.Size(43, 27);
this.pictureBox12.TabIndex = 440;
this.pictureBox12.TabStop = false;
//
// pictureBox1
//
this.pictureBox1.Location = new System.Drawing.Point(609, 264);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(43, 27);
this.pictureBox1.TabIndex = 446;
this.pictureBox1.TabStop = false;
this.pictureBox1.Visible = false;
//
// pictureBox6
//
this.pictureBox6.Location = new System.Drawing.Point(477, 264);
this.pictureBox6.Name = "pictureBox6";
this.pictureBox6.Size = new System.Drawing.Size(43, 27);
this.pictureBox6.TabIndex = 444;
this.pictureBox6.TabStop = false;
this.pictureBox6.Visible = false;
//
// pictureBox7
//
this.pictureBox7.Location = new System.Drawing.Point(302, 268);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(43, 27);
this.pictureBox7.TabIndex = 442;
this.pictureBox7.TabStop = false;
//
// pictureBox8
//
this.pictureBox8.Location = new System.Drawing.Point(123, 268);
this.pictureBox8.Name = "pictureBox8";
this.pictureBox8.Size = new System.Drawing.Size(43, 27);
this.pictureBox8.TabIndex = 440;
this.pictureBox8.TabStop = false;
//
// pb_MESswitch
//
this.pb_MESswitch.Location = new System.Drawing.Point(542, 15);
this.pb_MESswitch.Name = "pb_MESswitch";
this.pb_MESswitch.Size = new System.Drawing.Size(52, 31);
this.pb_MESswitch.TabIndex = 454;
this.pb_MESswitch.TabStop = false;
//
// pb_PLC_CommunicationStatus
//
this.pb_PLC_CommunicationStatus.BackColor = System.Drawing.Color.Silver;
this.pb_PLC_CommunicationStatus.Location = new System.Drawing.Point(387, 16);
this.pb_PLC_CommunicationStatus.Name = "pb_PLC_CommunicationStatus";
this.pb_PLC_CommunicationStatus.Size = new System.Drawing.Size(52, 28);
this.pb_PLC_CommunicationStatus.TabIndex = 452;
this.pb_PLC_CommunicationStatus.TabStop = false;
//
// pictureBox5
//
this.pictureBox5.Location = new System.Drawing.Point(609, 264);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(43, 27);
this.pictureBox5.TabIndex = 446;
this.pictureBox5.TabStop = false;
this.pictureBox5.Visible = false;
//
// pictureBox4
//
this.pictureBox4.Location = new System.Drawing.Point(477, 264);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(43, 27);
this.pictureBox4.TabIndex = 444;
this.pictureBox4.TabStop = false;
this.pictureBox4.Visible = false;
//
// pictureBox3
//
this.pictureBox3.Location = new System.Drawing.Point(302, 268);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(43, 27);
this.pictureBox3.TabIndex = 442;
this.pictureBox3.TabStop = false;
//
// pictureBox2
//
this.pictureBox2.Location = new System.Drawing.Point(123, 268);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 27);
this.pictureBox2.TabIndex = 440;
this.pictureBox2.TabStop = false;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -3062,37 +3062,37 @@
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.Name = "Form1";
this.Text = " LL28-Z_V25111701";
this.Text = " LL28-Z_V25111702";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
this.uiGroupBox5.ResumeLayout(false);
this.uiGroupBox5.PerformLayout();
this.nb_MainMenu.ResumeLayout(false);
this.nb_MainMenu.PerformLayout();
this.uiGroupBox1.ResumeLayout(false);
this.uiGroupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.DataGridView1)).EndInit();
this.uiGroupBox2.ResumeLayout(false);
this.uiGroupBox2.PerformLayout();
this.uiGroupBox3.ResumeLayout(false);
this.uiGroupBox3.PerformLayout();
this.uiGroupBox4.ResumeLayout(false);
this.uiGroupBox4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.DataGridView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_MESswitch)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_PLC_CommunicationStatus)).EndInit();
this.uiGroupBox1.ResumeLayout(false);
this.uiGroupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.DataGridView1)).EndInit();
this.uiGroupBox2.ResumeLayout(false);
this.uiGroupBox2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit();
this.uiGroupBox3.ResumeLayout(false);
this.uiGroupBox3.PerformLayout();
this.uiGroupBox4.ResumeLayout(false);
this.uiGroupBox4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.DataGridView2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();