|
|
|
|
@ -29,163 +29,162 @@
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLogin));
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtAccount = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.btnLogin = new System.Windows.Forms.Button();
|
|
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
|
|
this.lblTip = new System.Windows.Forms.Label();
|
|
|
|
|
this.panel1.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
panel1 = new Panel();
|
|
|
|
|
label4 = new Label();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
label3 = new Label();
|
|
|
|
|
txtAccount = new TextBox();
|
|
|
|
|
txtPassword = new TextBox();
|
|
|
|
|
btnLogin = new Button();
|
|
|
|
|
button2 = new Button();
|
|
|
|
|
lblTip = new Label();
|
|
|
|
|
panel1.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// panel1
|
|
|
|
|
//
|
|
|
|
|
this.panel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel1.BackgroundImage")));
|
|
|
|
|
this.panel1.Controls.Add(this.label4);
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(0, -1);
|
|
|
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(337, 313);
|
|
|
|
|
this.panel1.TabIndex = 0;
|
|
|
|
|
panel1.BackgroundImage = (Image)resources.GetObject("panel1.BackgroundImage");
|
|
|
|
|
panel1.Controls.Add(label4);
|
|
|
|
|
panel1.Location = new Point(0, -1);
|
|
|
|
|
panel1.Margin = new Padding(4);
|
|
|
|
|
panel1.Name = "panel1";
|
|
|
|
|
panel1.Size = new Size(337, 313);
|
|
|
|
|
panel1.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.BackColor = System.Drawing.Color.Transparent;
|
|
|
|
|
this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.label4.ForeColor = System.Drawing.SystemColors.Window;
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(4, 6);
|
|
|
|
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(110, 12);
|
|
|
|
|
this.label4.TabIndex = 2;
|
|
|
|
|
this.label4.Text = "WinfromDevFarme";
|
|
|
|
|
label4.AutoSize = true;
|
|
|
|
|
label4.BackColor = Color.Transparent;
|
|
|
|
|
label4.Font = new Font("宋体", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
|
|
|
|
label4.ForeColor = SystemColors.Window;
|
|
|
|
|
label4.Location = new Point(4, 6);
|
|
|
|
|
label4.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
label4.Name = "label4";
|
|
|
|
|
label4.Size = new Size(110, 12);
|
|
|
|
|
label4.TabIndex = 2;
|
|
|
|
|
label4.Text = "WinfromDevFarme";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.label1.ForeColor = System.Drawing.SystemColors.InactiveCaptionText;
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(345, 14);
|
|
|
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(65, 21);
|
|
|
|
|
this.label1.TabIndex = 1;
|
|
|
|
|
this.label1.Text = "Login";
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Font = new Font("宋体", 15.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
label1.ForeColor = SystemColors.InactiveCaptionText;
|
|
|
|
|
label1.Location = new Point(345, 14);
|
|
|
|
|
label1.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(65, 21);
|
|
|
|
|
label1.TabIndex = 1;
|
|
|
|
|
label1.Text = "Login";
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Font = new System.Drawing.Font("仿宋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(349, 76);
|
|
|
|
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(47, 12);
|
|
|
|
|
this.label2.TabIndex = 2;
|
|
|
|
|
this.label2.Text = "Account";
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Font = new Font("仿宋", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
label2.Location = new Point(349, 76);
|
|
|
|
|
label2.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(47, 12);
|
|
|
|
|
label2.TabIndex = 2;
|
|
|
|
|
label2.Text = "Account";
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
|
this.label3.Font = new System.Drawing.Font("仿宋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(349, 144);
|
|
|
|
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(53, 12);
|
|
|
|
|
this.label3.TabIndex = 3;
|
|
|
|
|
this.label3.Text = "Password";
|
|
|
|
|
label3.AutoSize = true;
|
|
|
|
|
label3.Font = new Font("仿宋", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
label3.Location = new Point(349, 144);
|
|
|
|
|
label3.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
label3.Name = "label3";
|
|
|
|
|
label3.Size = new Size(53, 12);
|
|
|
|
|
label3.TabIndex = 3;
|
|
|
|
|
label3.Text = "Password";
|
|
|
|
|
//
|
|
|
|
|
// txtAccount
|
|
|
|
|
//
|
|
|
|
|
this.txtAccount.Location = new System.Drawing.Point(354, 98);
|
|
|
|
|
this.txtAccount.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
this.txtAccount.Name = "txtAccount";
|
|
|
|
|
this.txtAccount.Size = new System.Drawing.Size(224, 23);
|
|
|
|
|
this.txtAccount.TabIndex = 4;
|
|
|
|
|
this.txtAccount.Text = "wangkai";
|
|
|
|
|
txtAccount.Location = new Point(354, 98);
|
|
|
|
|
txtAccount.Margin = new Padding(4);
|
|
|
|
|
txtAccount.Name = "txtAccount";
|
|
|
|
|
txtAccount.Size = new Size(224, 23);
|
|
|
|
|
txtAccount.TabIndex = 4;
|
|
|
|
|
txtAccount.Text = "admin";
|
|
|
|
|
//
|
|
|
|
|
// txtPassword
|
|
|
|
|
//
|
|
|
|
|
this.txtPassword.Location = new System.Drawing.Point(354, 167);
|
|
|
|
|
this.txtPassword.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
this.txtPassword.Name = "txtPassword";
|
|
|
|
|
this.txtPassword.PasswordChar = '*';
|
|
|
|
|
this.txtPassword.Size = new System.Drawing.Size(224, 23);
|
|
|
|
|
this.txtPassword.TabIndex = 5;
|
|
|
|
|
this.txtPassword.Text = "123456";
|
|
|
|
|
txtPassword.Location = new Point(354, 167);
|
|
|
|
|
txtPassword.Margin = new Padding(4);
|
|
|
|
|
txtPassword.Name = "txtPassword";
|
|
|
|
|
txtPassword.PasswordChar = '*';
|
|
|
|
|
txtPassword.Size = new Size(224, 23);
|
|
|
|
|
txtPassword.TabIndex = 5;
|
|
|
|
|
txtPassword.Text = "123456";
|
|
|
|
|
//
|
|
|
|
|
// btnLogin
|
|
|
|
|
//
|
|
|
|
|
this.btnLogin.BackColor = System.Drawing.Color.CornflowerBlue;
|
|
|
|
|
this.btnLogin.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.btnLogin.ForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
|
|
this.btnLogin.Location = new System.Drawing.Point(354, 247);
|
|
|
|
|
this.btnLogin.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
this.btnLogin.Name = "btnLogin";
|
|
|
|
|
this.btnLogin.Size = new System.Drawing.Size(93, 41);
|
|
|
|
|
this.btnLogin.TabIndex = 6;
|
|
|
|
|
this.btnLogin.Text = "login";
|
|
|
|
|
this.btnLogin.UseVisualStyleBackColor = false;
|
|
|
|
|
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
|
|
|
|
btnLogin.BackColor = Color.CornflowerBlue;
|
|
|
|
|
btnLogin.Font = new Font("宋体", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
|
|
|
|
btnLogin.ForeColor = SystemColors.HighlightText;
|
|
|
|
|
btnLogin.Location = new Point(354, 247);
|
|
|
|
|
btnLogin.Margin = new Padding(4);
|
|
|
|
|
btnLogin.Name = "btnLogin";
|
|
|
|
|
btnLogin.Size = new Size(93, 41);
|
|
|
|
|
btnLogin.TabIndex = 6;
|
|
|
|
|
btnLogin.Text = "login";
|
|
|
|
|
btnLogin.UseVisualStyleBackColor = false;
|
|
|
|
|
btnLogin.Click += btnLogin_Click;
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
this.button2.BackColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
|
|
|
this.button2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
|
|
this.button2.ForeColor = System.Drawing.Color.CornflowerBlue;
|
|
|
|
|
this.button2.Location = new System.Drawing.Point(491, 247);
|
|
|
|
|
this.button2.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
this.button2.Name = "button2";
|
|
|
|
|
this.button2.Size = new System.Drawing.Size(88, 41);
|
|
|
|
|
this.button2.TabIndex = 7;
|
|
|
|
|
this.button2.Text = "close";
|
|
|
|
|
this.button2.UseVisualStyleBackColor = false;
|
|
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
|
|
button2.BackColor = SystemColors.ButtonHighlight;
|
|
|
|
|
button2.Font = new Font("宋体", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
|
|
|
|
button2.ForeColor = Color.CornflowerBlue;
|
|
|
|
|
button2.Location = new Point(491, 247);
|
|
|
|
|
button2.Margin = new Padding(4);
|
|
|
|
|
button2.Name = "button2";
|
|
|
|
|
button2.Size = new Size(88, 41);
|
|
|
|
|
button2.TabIndex = 7;
|
|
|
|
|
button2.Text = "close";
|
|
|
|
|
button2.UseVisualStyleBackColor = false;
|
|
|
|
|
button2.Click += button2_Click;
|
|
|
|
|
//
|
|
|
|
|
// lblTip
|
|
|
|
|
//
|
|
|
|
|
this.lblTip.AutoSize = true;
|
|
|
|
|
this.lblTip.ForeColor = System.Drawing.Color.Red;
|
|
|
|
|
this.lblTip.Location = new System.Drawing.Point(357, 206);
|
|
|
|
|
this.lblTip.Name = "lblTip";
|
|
|
|
|
this.lblTip.Size = new System.Drawing.Size(0, 17);
|
|
|
|
|
this.lblTip.TabIndex = 8;
|
|
|
|
|
lblTip.AutoSize = true;
|
|
|
|
|
lblTip.ForeColor = Color.Red;
|
|
|
|
|
lblTip.Location = new Point(357, 206);
|
|
|
|
|
lblTip.Name = "lblTip";
|
|
|
|
|
lblTip.Size = new Size(0, 17);
|
|
|
|
|
lblTip.TabIndex = 8;
|
|
|
|
|
//
|
|
|
|
|
// FrmLogin
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(611, 314);
|
|
|
|
|
this.Controls.Add(this.lblTip);
|
|
|
|
|
this.Controls.Add(this.button2);
|
|
|
|
|
this.Controls.Add(this.btnLogin);
|
|
|
|
|
this.Controls.Add(this.txtPassword);
|
|
|
|
|
this.Controls.Add(this.txtAccount);
|
|
|
|
|
this.Controls.Add(this.label3);
|
|
|
|
|
this.Controls.Add(this.label2);
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
this.MaximumSize = new System.Drawing.Size(611, 314);
|
|
|
|
|
this.MinimizeBox = false;
|
|
|
|
|
this.MinimumSize = new System.Drawing.Size(611, 314);
|
|
|
|
|
this.Name = "FrmLogin";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "Login";
|
|
|
|
|
this.Load += new System.EventHandler(this.FrmLogin_Load);
|
|
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
|
|
this.panel1.PerformLayout();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = SystemColors.ControlLightLight;
|
|
|
|
|
ClientSize = new Size(611, 314);
|
|
|
|
|
Controls.Add(lblTip);
|
|
|
|
|
Controls.Add(button2);
|
|
|
|
|
Controls.Add(btnLogin);
|
|
|
|
|
Controls.Add(txtPassword);
|
|
|
|
|
Controls.Add(txtAccount);
|
|
|
|
|
Controls.Add(label3);
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(panel1);
|
|
|
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
|
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
|
|
|
Margin = new Padding(4);
|
|
|
|
|
MaximizeBox = false;
|
|
|
|
|
MaximumSize = new Size(611, 314);
|
|
|
|
|
MinimizeBox = false;
|
|
|
|
|
MinimumSize = new Size(611, 314);
|
|
|
|
|
Name = "FrmLogin";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Login";
|
|
|
|
|
Load += FrmLogin_Load;
|
|
|
|
|
panel1.ResumeLayout(false);
|
|
|
|
|
panel1.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|