|
|
|
@ -29,14 +29,14 @@
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.comboPwd = new HZH_Controls.Controls.TextBoxEx();
|
|
|
|
|
this.comboUser = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.comboPwd = new HZH_Controls.Controls.TextBoxEx();
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
|
|
this.panel1.SuspendLayout();
|
|
|
|
|
this.panel2.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
|
@ -47,44 +47,79 @@
|
|
|
|
|
this.panel1.Controls.Add(this.panel2);
|
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(585, 285);
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(878, 428);
|
|
|
|
|
this.panel1.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// panel2
|
|
|
|
|
//
|
|
|
|
|
this.panel2.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.panel2.Controls.Add(this.pictureBox1);
|
|
|
|
|
this.panel2.Controls.Add(this.button2);
|
|
|
|
|
this.panel2.Controls.Add(this.button1);
|
|
|
|
|
this.panel2.Controls.Add(this.label1);
|
|
|
|
|
this.panel2.Controls.Add(this.comboPwd);
|
|
|
|
|
this.panel2.Controls.Add(this.comboUser);
|
|
|
|
|
this.panel2.Controls.Add(this.label2);
|
|
|
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.panel2.Name = "panel2";
|
|
|
|
|
this.panel2.Size = new System.Drawing.Size(878, 428);
|
|
|
|
|
this.panel2.TabIndex = 2;
|
|
|
|
|
this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
|
|
|
|
|
//
|
|
|
|
|
// pictureBox1
|
|
|
|
|
//
|
|
|
|
|
this.pictureBox1.Image = global::RfidWeb.Properties.Resources.海威图标在上;
|
|
|
|
|
this.pictureBox1.Location = new System.Drawing.Point(40, 39);
|
|
|
|
|
this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
|
|
|
this.pictureBox1.Size = new System.Drawing.Size(404, 350);
|
|
|
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
|
|
|
this.pictureBox1.TabIndex = 6;
|
|
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
this.button2.Location = new System.Drawing.Point(688, 274);
|
|
|
|
|
this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.button2.Name = "button2";
|
|
|
|
|
this.button2.Size = new System.Drawing.Size(134, 66);
|
|
|
|
|
this.button2.TabIndex = 5;
|
|
|
|
|
this.button2.Text = "取消";
|
|
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(501, 274);
|
|
|
|
|
this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(136, 66);
|
|
|
|
|
this.button1.TabIndex = 4;
|
|
|
|
|
this.button1.Text = "登录";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(324, 69);
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(486, 104);
|
|
|
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(79, 16);
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(118, 24);
|
|
|
|
|
this.label1.TabIndex = 0;
|
|
|
|
|
this.label1.Text = "登录用户:";
|
|
|
|
|
//
|
|
|
|
|
// comboUser
|
|
|
|
|
//
|
|
|
|
|
this.comboUser.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.comboUser.FormattingEnabled = true;
|
|
|
|
|
this.comboUser.Location = new System.Drawing.Point(409, 66);
|
|
|
|
|
this.comboUser.Name = "comboUser";
|
|
|
|
|
this.comboUser.Size = new System.Drawing.Size(139, 24);
|
|
|
|
|
this.comboUser.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(324, 126);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(79, 16);
|
|
|
|
|
this.label2.TabIndex = 2;
|
|
|
|
|
this.label2.Text = "登录密码:";
|
|
|
|
|
//
|
|
|
|
|
// comboPwd
|
|
|
|
|
//
|
|
|
|
|
this.comboPwd.DecLength = 2;
|
|
|
|
|
this.comboPwd.InputType = HZH_Controls.TextInputType.NotControl;
|
|
|
|
|
this.comboPwd.Location = new System.Drawing.Point(409, 126);
|
|
|
|
|
this.comboPwd.Location = new System.Drawing.Point(614, 189);
|
|
|
|
|
this.comboPwd.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.comboPwd.MaxValue = new decimal(new int[] {
|
|
|
|
|
20,
|
|
|
|
|
0,
|
|
|
|
@ -103,61 +138,38 @@
|
|
|
|
|
this.comboPwd.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
|
|
|
this.comboPwd.PromptText = "";
|
|
|
|
|
this.comboPwd.RegexPattern = "";
|
|
|
|
|
this.comboPwd.Size = new System.Drawing.Size(139, 21);
|
|
|
|
|
this.comboPwd.Size = new System.Drawing.Size(206, 28);
|
|
|
|
|
this.comboPwd.TabIndex = 3;
|
|
|
|
|
this.comboPwd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.comboPwd_KeyDown);
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(334, 183);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(91, 44);
|
|
|
|
|
this.button1.TabIndex = 4;
|
|
|
|
|
this.button1.Text = "登录";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
this.button2.Location = new System.Drawing.Point(459, 183);
|
|
|
|
|
this.button2.Name = "button2";
|
|
|
|
|
this.button2.Size = new System.Drawing.Size(89, 44);
|
|
|
|
|
this.button2.TabIndex = 5;
|
|
|
|
|
this.button2.Text = "取消";
|
|
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
|
|
//
|
|
|
|
|
// panel2
|
|
|
|
|
// comboUser
|
|
|
|
|
//
|
|
|
|
|
this.panel2.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.panel2.Controls.Add(this.pictureBox1);
|
|
|
|
|
this.panel2.Controls.Add(this.button2);
|
|
|
|
|
this.panel2.Controls.Add(this.button1);
|
|
|
|
|
this.panel2.Controls.Add(this.label1);
|
|
|
|
|
this.panel2.Controls.Add(this.comboPwd);
|
|
|
|
|
this.panel2.Controls.Add(this.comboUser);
|
|
|
|
|
this.panel2.Controls.Add(this.label2);
|
|
|
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.panel2.Name = "panel2";
|
|
|
|
|
this.panel2.Size = new System.Drawing.Size(585, 285);
|
|
|
|
|
this.panel2.TabIndex = 2;
|
|
|
|
|
this.comboUser.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.comboUser.FormattingEnabled = true;
|
|
|
|
|
this.comboUser.Location = new System.Drawing.Point(614, 99);
|
|
|
|
|
this.comboUser.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.comboUser.Name = "comboUser";
|
|
|
|
|
this.comboUser.Size = new System.Drawing.Size(206, 32);
|
|
|
|
|
this.comboUser.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// pictureBox1
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.pictureBox1.Image = global::RfidWeb.Properties.Resources.海威图标在上;
|
|
|
|
|
this.pictureBox1.Location = new System.Drawing.Point(27, 26);
|
|
|
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
|
|
|
this.pictureBox1.Size = new System.Drawing.Size(269, 233);
|
|
|
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
|
|
|
this.pictureBox1.TabIndex = 6;
|
|
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(486, 189);
|
|
|
|
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(118, 24);
|
|
|
|
|
this.label2.TabIndex = 2;
|
|
|
|
|
this.label2.Text = "登录密码:";
|
|
|
|
|
//
|
|
|
|
|
// FormLogin
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(585, 285);
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(878, 428);
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
this.Name = "FormLogin";
|
|
|
|
|
this.Text = "登录窗口";
|
|
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
|
|