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

View File

@@ -30,39 +30,15 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_LogOn));
this.Account = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.Logtime = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.Password = new System.Windows.Forms.TextBox();
this.tb_Password = new System.Windows.Forms.TextBox();
this.Log = new System.Windows.Forms.Button();
this.Timer_timeShow = new System.Windows.Forms.Timer(this.components);
this.timer2 = new System.Windows.Forms.Timer(this.components);
this.bt_PasswordAdd = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// Account
//
this.Account.Font = new System.Drawing.Font("宋体", 15F);
this.Account.FormattingEnabled = true;
this.Account.Location = new System.Drawing.Point(54, 203);
this.Account.Name = "Account";
this.Account.Size = new System.Drawing.Size(190, 28);
this.Account.TabIndex = 45;
this.Account.Visible = false;
this.Account.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Account_KeyDown);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("宋体", 13F);
this.label2.Location = new System.Drawing.Point(82, 182);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(134, 18);
this.label2.TabIndex = 44;
this.label2.Text = "请选择账户名称";
this.label2.Visible = false;
//
// Logtime
//
this.Logtime.AutoSize = true;
@@ -96,15 +72,15 @@
this.label1.TabIndex = 40;
this.label1.Text = "请输入密码";
//
// Password
// tb_Password
//
this.Password.Font = new System.Drawing.Font("宋体", 15F);
this.Password.Location = new System.Drawing.Point(55, 64);
this.Password.Name = "Password";
this.Password.Size = new System.Drawing.Size(190, 30);
this.Password.TabIndex = 39;
this.Password.UseSystemPasswordChar = true;
this.Password.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Password_KeyDown);
this.tb_Password.Font = new System.Drawing.Font("宋体", 15F);
this.tb_Password.Location = new System.Drawing.Point(55, 64);
this.tb_Password.Name = "tb_Password";
this.tb_Password.Size = new System.Drawing.Size(190, 30);
this.tb_Password.TabIndex = 39;
this.tb_Password.UseSystemPasswordChar = true;
this.tb_Password.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Password_KeyDown);
//
// Log
//
@@ -121,22 +97,28 @@
//
this.Timer_timeShow.Tick += new System.EventHandler(this.Timer1_Tick);
//
// timer2
// bt_PasswordAdd
//
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
this.bt_PasswordAdd.Font = new System.Drawing.Font("宋体", 10F);
this.bt_PasswordAdd.Location = new System.Drawing.Point(227, 174);
this.bt_PasswordAdd.Name = "bt_PasswordAdd";
this.bt_PasswordAdd.Size = new System.Drawing.Size(76, 29);
this.bt_PasswordAdd.TabIndex = 47;
this.bt_PasswordAdd.Text = "添加密码";
this.bt_PasswordAdd.UseVisualStyleBackColor = true;
this.bt_PasswordAdd.Click += new System.EventHandler(this.bt_PasswordAdd_Click);
//
// Form_LogOn
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(314, 179);
this.ClientSize = new System.Drawing.Size(314, 215);
this.Controls.Add(this.bt_PasswordAdd);
this.Controls.Add(this.Log);
this.Controls.Add(this.Account);
this.Controls.Add(this.label2);
this.Controls.Add(this.Logtime);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Controls.Add(this.Password);
this.Controls.Add(this.tb_Password);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form_LogOn";
this.Text = "登录";
@@ -148,15 +130,12 @@
}
#endregion
public System.Windows.Forms.ComboBox Account;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label Logtime;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox Password;
private System.Windows.Forms.TextBox tb_Password;
private System.Windows.Forms.Button Log;
private System.Windows.Forms.Timer Timer_timeShow;
private System.Windows.Forms.Timer timer2;
private System.Windows.Forms.Button bt_PasswordAdd;
}
}