Exemplo n.º 1
0
 private void InitializeComponent()
 {
     btn_cancel        = new System.Windows.Forms.Button();
     btn_save          = new System.Windows.Forms.Button();
     pictureBox1       = new System.Windows.Forms.PictureBox();
     panel17           = new System.Windows.Forms.Panel();
     btn_down          = new System.Windows.Forms.Button();
     btn_top           = new System.Windows.Forms.Button();
     pictureBox2       = new System.Windows.Forms.PictureBox();
     keyboardcontrol1  = new KeyboardClassLibrary.Keyboardcontrol();
     tb_Repassword     = new System.Windows.Forms.TextBox();
     tb_Name           = new System.Windows.Forms.TextBox();
     panel2            = new System.Windows.Forms.Panel();
     label2            = new System.Windows.Forms.Label();
     panel1            = new System.Windows.Forms.Panel();
     label1            = new System.Windows.Forms.Label();
     panel5            = new System.Windows.Forms.Panel();
     label6            = new System.Windows.Forms.Label();
     label10           = new System.Windows.Forms.Label();
     panel3            = new System.Windows.Forms.Panel();
     panel6            = new System.Windows.Forms.Panel();
     label12           = new System.Windows.Forms.Label();
     panel4            = new System.Windows.Forms.Panel();
     label3            = new System.Windows.Forms.Label();
     panel13           = new System.Windows.Forms.Panel();
     l_account         = new System.Windows.Forms.Label();
     tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     tb_password       = new System.Windows.Forms.TextBox();
     tb_email          = new System.Windows.Forms.TextBox();
     panel7            = new System.Windows.Forms.Panel();
     label4            = new System.Windows.Forms.Label();
     cb_type           = new System.Windows.Forms.ComboBox();
     cb_status         = new System.Windows.Forms.ComboBox();
     label5            = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
     panel17.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
     panel2.SuspendLayout();
     panel1.SuspendLayout();
     panel5.SuspendLayout();
     panel3.SuspendLayout();
     panel6.SuspendLayout();
     panel4.SuspendLayout();
     panel13.SuspendLayout();
     tableLayoutPanel1.SuspendLayout();
     panel7.SuspendLayout();
     SuspendLayout();
     btn_cancel.BackColor = System.Drawing.Color.FromArgb(153, 153, 153);
     btn_cancel.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_cancel.ForeColor = System.Drawing.Color.White;
     btn_cancel.Location  = new System.Drawing.Point(567, 555);
     btn_cancel.Name      = "btn_cancel";
     btn_cancel.Size      = new System.Drawing.Size(92, 40);
     btn_cancel.TabIndex  = 0;
     btn_cancel.Text      = "取消";
     btn_cancel.UseVisualStyleBackColor = false;
     btn_cancel.Click  += new System.EventHandler(btn_cancel_Click);
     btn_save.BackColor = System.Drawing.Color.FromArgb(157, 189, 59);
     btn_save.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_save.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_save.ForeColor = System.Drawing.Color.White;
     btn_save.Location  = new System.Drawing.Point(359, 555);
     btn_save.Name      = "btn_save";
     btn_save.Size      = new System.Drawing.Size(134, 40);
     btn_save.TabIndex  = 42;
     btn_save.Text      = "儲存變更";
     btn_save.UseVisualStyleBackColor = false;
     btn_save.Click       += new System.EventHandler(btn_save_Click);
     pictureBox1.Anchor    = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox1.BackColor = System.Drawing.Color.Silver;
     pictureBox1.Image     = POS_Client.Properties.Resources.keyboard;
     pictureBox1.Location  = new System.Drawing.Point(874, 588);
     pictureBox1.Name      = "pictureBox1";
     pictureBox1.Size      = new System.Drawing.Size(70, 46);
     pictureBox1.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     pictureBox1.TabIndex  = 52;
     pictureBox1.TabStop   = false;
     pictureBox1.Click    += new System.EventHandler(pictureBox1_Click);
     panel17.BackColor     = System.Drawing.Color.FromArgb(51, 51, 51);
     panel17.Controls.Add(btn_down);
     panel17.Controls.Add(btn_top);
     panel17.Controls.Add(pictureBox2);
     panel17.Controls.Add(keyboardcontrol1);
     panel17.Location  = new System.Drawing.Point(953, 367);
     panel17.Margin    = new System.Windows.Forms.Padding(0);
     panel17.Name      = "panel17";
     panel17.Size      = new System.Drawing.Size(949, 269);
     panel17.TabIndex  = 53;
     btn_down.Location = new System.Drawing.Point(862, 112);
     btn_down.Name     = "btn_down";
     btn_down.Size     = new System.Drawing.Size(58, 40);
     btn_down.TabIndex = 52;
     btn_down.Text     = "Down";
     btn_down.UseVisualStyleBackColor = true;
     btn_down.Click  += new System.EventHandler(btn_KeyboardLocation_Click);
     btn_top.Location = new System.Drawing.Point(862, 55);
     btn_top.Name     = "btn_top";
     btn_top.Size     = new System.Drawing.Size(58, 40);
     btn_top.TabIndex = 51;
     btn_top.Text     = "Top";
     btn_top.UseVisualStyleBackColor = true;
     btn_top.Click                   += new System.EventHandler(btn_KeyboardLocation_Click);
     pictureBox2.Anchor               = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox2.BackColor            = System.Drawing.Color.FromArgb(0, 0, 0, 0);
     pictureBox2.Image                = POS_Client.Properties.Resources.keyboard_close;
     pictureBox2.Location             = new System.Drawing.Point(842, 7);
     pictureBox2.Name                 = "pictureBox2";
     pictureBox2.Size                 = new System.Drawing.Size(59, 34);
     pictureBox2.SizeMode             = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     pictureBox2.TabIndex             = 50;
     pictureBox2.TabStop              = false;
     pictureBox2.Click               += new System.EventHandler(pictureBox1_Click);
     keyboardcontrol1.KeyboardType    = KeyboardClassLibrary.BoW.Standard;
     keyboardcontrol1.Location        = new System.Drawing.Point(12, 6);
     keyboardcontrol1.Name            = "keyboardcontrol1";
     keyboardcontrol1.Size            = new System.Drawing.Size(816, 260);
     keyboardcontrol1.TabIndex        = 0;
     keyboardcontrol1.UserKeyPressed += new KeyboardClassLibrary.KeyboardDelegate(keyboardcontrol1_UserKeyPressed);
     tb_Repassword.Font               = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_Repassword.ForeColor          = System.Drawing.Color.Black;
     tb_Repassword.Location           = new System.Drawing.Point(185, 142);
     tb_Repassword.Margin             = new System.Windows.Forms.Padding(15);
     tb_Repassword.Name               = "tb_Repassword";
     tb_Repassword.PasswordChar       = '*';
     tb_Repassword.Size               = new System.Drawing.Size(187, 29);
     tb_Repassword.TabIndex           = 51;
     tb_Name.Anchor                   = System.Windows.Forms.AnchorStyles.Left;
     tb_Name.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_Name.ForeColor = System.Drawing.Color.Black;
     tb_Name.Location  = new System.Drawing.Point(185, 206);
     tb_Name.Margin    = new System.Windows.Forms.Padding(15);
     tb_Name.Name      = "tb_Name";
     tb_Name.Size      = new System.Drawing.Size(186, 29);
     tb_Name.TabIndex  = 56;
     panel2.BackColor  = System.Drawing.Color.FromArgb(102, 102, 102);
     panel2.Controls.Add(label2);
     panel2.Dock      = System.Windows.Forms.DockStyle.Fill;
     panel2.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel2.ForeColor = System.Drawing.Color.White;
     panel2.Location  = new System.Drawing.Point(1, 253);
     panel2.Margin    = new System.Windows.Forms.Padding(0);
     panel2.Name      = "panel2";
     panel2.Size      = new System.Drawing.Size(168, 62);
     panel2.TabIndex  = 44;
     label2.AutoSize  = true;
     label2.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label2.ForeColor = System.Drawing.Color.White;
     label2.Location  = new System.Drawing.Point(102, 19);
     label2.Name      = "label2";
     label2.Size      = new System.Drawing.Size(58, 21);
     label2.TabIndex  = 0;
     label2.Text      = "身分別";
     panel1.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
     panel1.Controls.Add(label1);
     panel1.Dock      = System.Windows.Forms.DockStyle.Fill;
     panel1.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel1.ForeColor = System.Drawing.Color.White;
     panel1.Location  = new System.Drawing.Point(1, 190);
     panel1.Margin    = new System.Windows.Forms.Padding(0);
     panel1.Name      = "panel1";
     panel1.Size      = new System.Drawing.Size(168, 62);
     panel1.TabIndex  = 43;
     label1.AutoSize  = true;
     label1.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label1.ForeColor = System.Drawing.Color.White;
     label1.Location  = new System.Drawing.Point(70, 22);
     label1.Name      = "label1";
     label1.Size      = new System.Drawing.Size(90, 21);
     label1.TabIndex  = 0;
     label1.Text      = "使用者姓名";
     panel5.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
     panel5.Controls.Add(label6);
     panel5.Dock       = System.Windows.Forms.DockStyle.Fill;
     panel5.Font       = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel5.ForeColor  = System.Drawing.Color.White;
     panel5.Location   = new System.Drawing.Point(1, 64);
     panel5.Margin     = new System.Windows.Forms.Padding(0);
     panel5.Name       = "panel5";
     panel5.Size       = new System.Drawing.Size(168, 62);
     panel5.TabIndex   = 23;
     label6.AutoSize   = true;
     label6.Font       = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label6.ForeColor  = System.Drawing.Color.White;
     label6.Location   = new System.Drawing.Point(86, 20);
     label6.Name       = "label6";
     label6.Size       = new System.Drawing.Size(74, 21);
     label6.TabIndex   = 0;
     label6.Text       = "登入密碼";
     label10.AutoSize  = true;
     label10.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label10.ForeColor = System.Drawing.Color.White;
     label10.Location  = new System.Drawing.Point(118, 21);
     label10.Name      = "label10";
     label10.Size      = new System.Drawing.Size(42, 21);
     label10.TabIndex  = 0;
     label10.Text      = "帳號";
     panel3.BackColor  = System.Drawing.Color.FromArgb(102, 102, 102);
     panel3.Controls.Add(label10);
     panel3.Dock      = System.Windows.Forms.DockStyle.Fill;
     panel3.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel3.ForeColor = System.Drawing.Color.White;
     panel3.Location  = new System.Drawing.Point(1, 1);
     panel3.Margin    = new System.Windows.Forms.Padding(0);
     panel3.Name      = "panel3";
     panel3.Size      = new System.Drawing.Size(168, 62);
     panel3.TabIndex  = 21;
     panel6.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
     panel6.Controls.Add(label12);
     panel6.Dock       = System.Windows.Forms.DockStyle.Fill;
     panel6.Font       = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel6.ForeColor  = System.Drawing.Color.White;
     panel6.Location   = new System.Drawing.Point(1, 127);
     panel6.Margin     = new System.Windows.Forms.Padding(0);
     panel6.Name       = "panel6";
     panel6.Size       = new System.Drawing.Size(168, 62);
     panel6.TabIndex   = 20;
     label12.AutoSize  = true;
     label12.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label12.ForeColor = System.Drawing.Color.White;
     label12.Location  = new System.Drawing.Point(70, 22);
     label12.Name      = "label12";
     label12.Size      = new System.Drawing.Size(90, 21);
     label12.TabIndex  = 0;
     label12.Text      = "密碼再確認";
     panel4.BackColor  = System.Drawing.Color.FromArgb(102, 102, 102);
     panel4.Controls.Add(label3);
     panel4.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel4.ForeColor = System.Drawing.Color.White;
     panel4.Location  = new System.Drawing.Point(1, 316);
     panel4.Margin    = new System.Windows.Forms.Padding(0);
     panel4.Name      = "panel4";
     panel4.Size      = new System.Drawing.Size(168, 62);
     panel4.TabIndex  = 45;
     label3.AutoSize  = true;
     label3.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label3.ForeColor = System.Drawing.Color.White;
     label3.Location  = new System.Drawing.Point(86, 20);
     label3.Name      = "label3";
     label3.Size      = new System.Drawing.Size(74, 21);
     label3.TabIndex  = 0;
     label3.Text      = "電子信箱";
     panel13.Controls.Add(l_account);
     panel13.Dock                      = System.Windows.Forms.DockStyle.Fill;
     panel13.Location                  = new System.Drawing.Point(170, 1);
     panel13.Margin                    = new System.Windows.Forms.Padding(0);
     panel13.Name                      = "panel13";
     panel13.Size                      = new System.Drawing.Size(676, 62);
     panel13.TabIndex                  = 54;
     l_account.AutoSize                = true;
     l_account.Font                    = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     l_account.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     l_account.Location                = new System.Drawing.Point(16, 21);
     l_account.Name                    = "l_account";
     l_account.Size                    = new System.Drawing.Size(0, 24);
     l_account.TabIndex                = 54;
     tableLayoutPanel1.BackColor       = System.Drawing.Color.White;
     tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
     tableLayoutPanel1.ColumnCount     = 2;
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20f));
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80f));
     tableLayoutPanel1.Controls.Add(tb_password, 1, 1);
     tableLayoutPanel1.Controls.Add(panel13, 1, 0);
     tableLayoutPanel1.Controls.Add(panel4, 0, 5);
     tableLayoutPanel1.Controls.Add(panel6, 0, 2);
     tableLayoutPanel1.Controls.Add(panel3, 0, 0);
     tableLayoutPanel1.Controls.Add(panel5, 0, 1);
     tableLayoutPanel1.Controls.Add(panel1, 0, 3);
     tableLayoutPanel1.Controls.Add(panel2, 0, 4);
     tableLayoutPanel1.Controls.Add(tb_Name, 1, 3);
     tableLayoutPanel1.Controls.Add(tb_Repassword, 1, 2);
     tableLayoutPanel1.Controls.Add(tb_email, 1, 5);
     tableLayoutPanel1.Controls.Add(panel7, 0, 6);
     tableLayoutPanel1.Controls.Add(cb_type, 1, 4);
     tableLayoutPanel1.Controls.Add(cb_status, 1, 6);
     tableLayoutPanel1.Location = new System.Drawing.Point(50, 77);
     tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(3, 10, 3, 3);
     tableLayoutPanel1.Name     = "tableLayoutPanel1";
     tableLayoutPanel1.RowCount = 7;
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
     tableLayoutPanel1.Size     = new System.Drawing.Size(847, 442);
     tableLayoutPanel1.TabIndex = 41;
     tb_password.Font           = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_password.ForeColor      = System.Drawing.Color.Black;
     tb_password.Location       = new System.Drawing.Point(185, 79);
     tb_password.Margin         = new System.Windows.Forms.Padding(15);
     tb_password.Name           = "tb_password";
     tb_password.PasswordChar   = '*';
     tb_password.Size           = new System.Drawing.Size(187, 29);
     tb_password.TabIndex       = 52;
     tb_email.Anchor            = System.Windows.Forms.AnchorStyles.None;
     tb_email.Font     = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_email.Location = new System.Drawing.Point(185, 332);
     tb_email.Margin   = new System.Windows.Forms.Padding(0);
     tb_email.Name     = "tb_email";
     tb_email.Size     = new System.Drawing.Size(645, 29);
     tb_email.TabIndex = 57;
     panel7.BackColor  = System.Drawing.Color.FromArgb(102, 102, 102);
     panel7.Controls.Add(label4);
     panel7.Dock                 = System.Windows.Forms.DockStyle.Fill;
     panel7.Font                 = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel7.ForeColor            = System.Drawing.Color.White;
     panel7.Location             = new System.Drawing.Point(1, 379);
     panel7.Margin               = new System.Windows.Forms.Padding(0);
     panel7.Name                 = "panel7";
     panel7.Size                 = new System.Drawing.Size(168, 62);
     panel7.TabIndex             = 45;
     label4.AutoSize             = true;
     label4.Font                 = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label4.ForeColor            = System.Drawing.Color.White;
     label4.Location             = new System.Drawing.Point(118, 23);
     label4.Name                 = "label4";
     label4.Size                 = new System.Drawing.Size(42, 21);
     label4.TabIndex             = 0;
     label4.Text                 = "狀態";
     cb_type.Anchor              = System.Windows.Forms.AnchorStyles.Left;
     cb_type.DropDownStyle       = System.Windows.Forms.ComboBoxStyle.DropDownList;
     cb_type.Font                = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     cb_type.FormattingEnabled   = true;
     cb_type.Location            = new System.Drawing.Point(190, 268);
     cb_type.Margin              = new System.Windows.Forms.Padding(20, 0, 0, 0);
     cb_type.Name                = "cb_type";
     cb_type.Size                = new System.Drawing.Size(189, 32);
     cb_type.TabIndex            = 59;
     cb_status.Anchor            = System.Windows.Forms.AnchorStyles.Left;
     cb_status.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     cb_status.Font              = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     cb_status.FormattingEnabled = true;
     cb_status.Location          = new System.Drawing.Point(190, 394);
     cb_status.Margin            = new System.Windows.Forms.Padding(20, 0, 0, 0);
     cb_status.Name              = "cb_status";
     cb_status.Size              = new System.Drawing.Size(189, 32);
     cb_status.TabIndex          = 58;
     label5.AutoSize             = true;
     label5.Font                 = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label5.Image                = POS_Client.Properties.Resources.oblique;
     label5.ImageAlign           = System.Drawing.ContentAlignment.MiddleLeft;
     label5.Location             = new System.Drawing.Point(414, 32);
     label5.Name                 = "label5";
     label5.Size                 = new System.Drawing.Size(120, 24);
     label5.TabIndex             = 54;
     label5.Text                 = "   使用者編修";
     base.AutoScaleDimensions    = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode          = System.Windows.Forms.AutoScaleMode.Font;
     BackColor       = System.Drawing.Color.Silver;
     base.ClientSize = new System.Drawing.Size(949, 636);
     base.Controls.Add(label5);
     base.Controls.Add(panel17);
     base.Controls.Add(pictureBox1);
     base.Controls.Add(btn_save);
     base.Controls.Add(tableLayoutPanel1);
     base.Controls.Add(btn_cancel);
     base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     base.Name            = "frmEditUser";
     base.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     Text       = "選擇會員 / 會員編修";
     base.Load += new System.EventHandler(frmEditUser_Load);
     ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
     panel17.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
     panel2.ResumeLayout(false);
     panel2.PerformLayout();
     panel1.ResumeLayout(false);
     panel1.PerformLayout();
     panel5.ResumeLayout(false);
     panel5.PerformLayout();
     panel3.ResumeLayout(false);
     panel3.PerformLayout();
     panel6.ResumeLayout(false);
     panel6.PerformLayout();
     panel4.ResumeLayout(false);
     panel4.PerformLayout();
     panel13.ResumeLayout(false);
     panel13.PerformLayout();
     tableLayoutPanel1.ResumeLayout(false);
     tableLayoutPanel1.PerformLayout();
     panel7.ResumeLayout(false);
     panel7.PerformLayout();
     ResumeLayout(false);
     PerformLayout();
 }
Exemplo n.º 2
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(POS_Client.MasterThinForm));
     l_Name             = new System.Windows.Forms.Label();
     topPanel           = new System.Windows.Forms.Panel();
     l_ReturnMain       = new System.Windows.Forms.Label();
     pa_keyboard        = new System.Windows.Forms.Panel();
     btn_down           = new System.Windows.Forms.Button();
     btn_top            = new System.Windows.Forms.Button();
     pb_keyboard        = new System.Windows.Forms.PictureBox();
     keyboardcontrol1   = new KeyboardClassLibrary.Keyboardcontrol();
     pb_virtualKeyBoard = new System.Windows.Forms.PictureBox();
     topPanel.SuspendLayout();
     pa_keyboard.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)pb_keyboard).BeginInit();
     ((System.ComponentModel.ISupportInitialize)pb_virtualKeyBoard).BeginInit();
     SuspendLayout();
     l_Name.AutoSize          = true;
     l_Name.BackColor         = System.Drawing.Color.Transparent;
     l_Name.Font              = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     l_Name.ForeColor         = System.Drawing.Color.White;
     l_Name.Location          = new System.Drawing.Point(25, 6);
     l_Name.Name              = "l_Name";
     l_Name.Size              = new System.Drawing.Size(70, 24);
     l_Name.TabIndex          = 3;
     l_Name.Text              = "NAME";
     topPanel.BackgroundImage = POS_Client.Properties.Resources.inside_top_bg;
     topPanel.Controls.Add(l_ReturnMain);
     topPanel.Controls.Add(l_Name);
     topPanel.Location      = new System.Drawing.Point(0, 0);
     topPanel.Margin        = new System.Windows.Forms.Padding(0);
     topPanel.Name          = "topPanel";
     topPanel.Size          = new System.Drawing.Size(981, 35);
     topPanel.TabIndex      = 32;
     l_ReturnMain.BackColor = System.Drawing.Color.Transparent;
     l_ReturnMain.Cursor    = System.Windows.Forms.Cursors.Hand;
     l_ReturnMain.Font      = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     l_ReturnMain.ForeColor = System.Drawing.Color.White;
     l_ReturnMain.Location  = new System.Drawing.Point(906, 6);
     l_ReturnMain.Name      = "l_ReturnMain";
     l_ReturnMain.Size      = new System.Drawing.Size(72, 25);
     l_ReturnMain.TabIndex  = 30;
     l_ReturnMain.Text      = "結束";
     l_ReturnMain.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     l_ReturnMain.Click    += new System.EventHandler(l_ReturnMain_Click);
     pa_keyboard.BackColor  = System.Drawing.Color.FromArgb(51, 51, 51);
     pa_keyboard.Controls.Add(btn_down);
     pa_keyboard.Controls.Add(btn_top);
     pa_keyboard.Controls.Add(pb_keyboard);
     pa_keyboard.Controls.Add(keyboardcontrol1);
     pa_keyboard.Location             = new System.Drawing.Point(997, 391);
     pa_keyboard.Name                 = "pa_keyboard";
     pa_keyboard.Size                 = new System.Drawing.Size(981, 269);
     pa_keyboard.TabIndex             = 50;
     btn_down.Location                = new System.Drawing.Point(919, 113);
     btn_down.Name                    = "btn_down";
     btn_down.Size                    = new System.Drawing.Size(58, 40);
     btn_down.TabIndex                = 52;
     btn_down.Text                    = "Down";
     btn_down.UseVisualStyleBackColor = true;
     btn_down.Click                  += new System.EventHandler(btn_KeyboardLocation_Click);
     btn_top.Location                 = new System.Drawing.Point(919, 55);
     btn_top.Name     = "btn_top";
     btn_top.Size     = new System.Drawing.Size(58, 40);
     btn_top.TabIndex = 51;
     btn_top.Text     = "Top";
     btn_top.UseVisualStyleBackColor = true;
     btn_top.Click                   += new System.EventHandler(btn_KeyboardLocation_Click);
     pb_keyboard.Anchor               = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pb_keyboard.BackColor            = System.Drawing.Color.FromArgb(0, 0, 0, 0);
     pb_keyboard.Image                = POS_Client.Properties.Resources.keyboard_close;
     pb_keyboard.Location             = new System.Drawing.Point(919, 6);
     pb_keyboard.Name                 = "pb_keyboard";
     pb_keyboard.Size                 = new System.Drawing.Size(59, 34);
     pb_keyboard.SizeMode             = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     pb_keyboard.TabIndex             = 50;
     pb_keyboard.TabStop              = false;
     pb_keyboard.Click               += new System.EventHandler(pictureBox1_Click);
     keyboardcontrol1.KeyboardType    = KeyboardClassLibrary.BoW.Standard;
     keyboardcontrol1.Location        = new System.Drawing.Point(12, 6);
     keyboardcontrol1.Name            = "keyboardcontrol1";
     keyboardcontrol1.Size            = new System.Drawing.Size(816, 260);
     keyboardcontrol1.TabIndex        = 0;
     keyboardcontrol1.UserKeyPressed += new KeyboardClassLibrary.KeyboardDelegate(keyboardcontrol1_UserKeyPressed);
     pb_virtualKeyBoard.Anchor        = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pb_virtualKeyBoard.BackColor     = System.Drawing.Color.FromArgb(50, 153, 153, 153);
     pb_virtualKeyBoard.Cursor        = System.Windows.Forms.Cursors.Hand;
     pb_virtualKeyBoard.Image         = POS_Client.Properties.Resources.keyboard;
     pb_virtualKeyBoard.Location      = new System.Drawing.Point(910, 620);
     pb_virtualKeyBoard.Name          = "pb_virtualKeyBoard";
     pb_virtualKeyBoard.Size          = new System.Drawing.Size(70, 40);
     pb_virtualKeyBoard.SizeMode      = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     pb_virtualKeyBoard.TabIndex      = 51;
     pb_virtualKeyBoard.TabStop       = false;
     pb_virtualKeyBoard.Click        += new System.EventHandler(pictureBox1_Click);
     base.AutoScaleDimensions         = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode               = System.Windows.Forms.AutoScaleMode.Font;
     base.ClientSize                  = new System.Drawing.Size(981, 661);
     base.Controls.Add(pa_keyboard);
     base.Controls.Add(pb_virtualKeyBoard);
     base.Controls.Add(topPanel);
     base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     base.Icon            = (System.Drawing.Icon)resources.GetObject("$this.Icon");
     base.KeyPreview      = true;
     base.MaximizeBox     = false;
     base.Name            = "MasterThinForm";
     Text       = "農藥銷售簡易POS";
     base.Load += new System.EventHandler(MasterThinForm_Load);
     topPanel.ResumeLayout(false);
     topPanel.PerformLayout();
     pa_keyboard.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)pb_keyboard).EndInit();
     ((System.ComponentModel.ISupportInitialize)pb_virtualKeyBoard).EndInit();
     ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
     btn_back          = new System.Windows.Forms.Button();
     tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     panel1            = new System.Windows.Forms.Panel();
     dateTimePicker0   = new System.Windows.Forms.DateTimePicker();
     panel13           = new System.Windows.Forms.Panel();
     tb_BatchNo        = new System.Windows.Forms.TextBox();
     panel3            = new System.Windows.Forms.Panel();
     label6            = new System.Windows.Forms.Label();
     panel5            = new System.Windows.Forms.Panel();
     label10           = new System.Windows.Forms.Label();
     textBox1          = new System.Windows.Forms.TextBox();
     panel17           = new System.Windows.Forms.Panel();
     btn_down          = new System.Windows.Forms.Button();
     btn_top           = new System.Windows.Forms.Button();
     pictureBox2       = new System.Windows.Forms.PictureBox();
     keyboardcontrol1  = new KeyboardClassLibrary.Keyboardcontrol();
     btn_Save          = new System.Windows.Forms.Button();
     pictureBox1       = new System.Windows.Forms.PictureBox();
     infolist          = new System.Windows.Forms.DataGridView();
     DeliveryInfo      = new POS_Client.frmMainShopSimple.CustomColumn();
     quantity          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     select            = new System.Windows.Forms.DataGridViewButtonColumn();
     label1            = new System.Windows.Forms.Label();
     l_GDName          = new System.Windows.Forms.Label();
     label2            = new System.Windows.Forms.Label();
     label3            = new System.Windows.Forms.Label();
     tableLayoutPanel1.SuspendLayout();
     panel1.SuspendLayout();
     panel13.SuspendLayout();
     panel3.SuspendLayout();
     panel5.SuspendLayout();
     panel17.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
     ((System.ComponentModel.ISupportInitialize)infolist).BeginInit();
     SuspendLayout();
     btn_back.BackColor = System.Drawing.Color.FromArgb(153, 153, 153);
     btn_back.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_back.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_back.ForeColor = System.Drawing.Color.White;
     btn_back.Location  = new System.Drawing.Point(516, 248);
     btn_back.Name      = "btn_back";
     btn_back.Size      = new System.Drawing.Size(176, 40);
     btn_back.TabIndex  = 0;
     btn_back.Text      = "放棄設定不選入商品";
     btn_back.UseVisualStyleBackColor = false;
     btn_back.Click += new System.EventHandler(btn_back_Click);
     tableLayoutPanel1.BackColor       = System.Drawing.Color.White;
     tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
     tableLayoutPanel1.ColumnCount     = 4;
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 162f));
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 162f));
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.Controls.Add(panel1, 1, 1);
     tableLayoutPanel1.Controls.Add(panel13, 1, 0);
     tableLayoutPanel1.Controls.Add(panel3, 0, 0);
     tableLayoutPanel1.Controls.Add(panel5, 0, 1);
     tableLayoutPanel1.Location = new System.Drawing.Point(51, 129);
     tableLayoutPanel1.Name     = "tableLayoutPanel1";
     tableLayoutPanel1.RowCount = 2;
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.Size     = new System.Drawing.Size(850, 104);
     tableLayoutPanel1.TabIndex = 41;
     tableLayoutPanel1.SetColumnSpan(panel1, 3);
     panel1.Controls.Add(dateTimePicker0);
     panel1.Dock                  = System.Windows.Forms.DockStyle.Fill;
     panel1.Location              = new System.Drawing.Point(164, 52);
     panel1.Margin                = new System.Windows.Forms.Padding(0);
     panel1.Name                  = "panel1";
     panel1.Size                  = new System.Drawing.Size(685, 51);
     panel1.TabIndex              = 55;
     dateTimePicker0.Anchor       = System.Windows.Forms.AnchorStyles.Left;
     dateTimePicker0.Checked      = false;
     dateTimePicker0.CustomFormat = "yyyy-MM-dd";
     dateTimePicker0.Font         = new System.Drawing.Font("微軟正黑體", 14.25f);
     dateTimePicker0.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     dateTimePicker0.Location     = new System.Drawing.Point(10, 9);
     dateTimePicker0.Margin       = new System.Windows.Forms.Padding(10, 13, 3, 3);
     dateTimePicker0.Name         = "dateTimePicker0";
     dateTimePicker0.ShowCheckBox = true;
     dateTimePicker0.Size         = new System.Drawing.Size(181, 33);
     dateTimePicker0.TabIndex     = 6;
     dateTimePicker0.Value        = new System.DateTime(2017, 1, 1, 0, 0, 0, 0);
     tableLayoutPanel1.SetColumnSpan(panel13, 3);
     panel13.Controls.Add(tb_BatchNo);
     panel13.Dock         = System.Windows.Forms.DockStyle.Fill;
     panel13.Location     = new System.Drawing.Point(164, 1);
     panel13.Margin       = new System.Windows.Forms.Padding(0);
     panel13.Name         = "panel13";
     panel13.Size         = new System.Drawing.Size(685, 50);
     panel13.TabIndex     = 54;
     tb_BatchNo.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_BatchNo.ForeColor = System.Drawing.Color.DarkGray;
     tb_BatchNo.ImeMode   = System.Windows.Forms.ImeMode.Disable;
     tb_BatchNo.Location  = new System.Drawing.Point(9, 11);
     tb_BatchNo.Margin    = new System.Windows.Forms.Padding(10);
     tb_BatchNo.MaxLength = 20;
     tb_BatchNo.Name      = "tb_BatchNo";
     tb_BatchNo.Size      = new System.Drawing.Size(666, 29);
     tb_BatchNo.TabIndex  = 43;
     panel3.BackColor     = System.Drawing.Color.FromArgb(102, 102, 102);
     panel3.Controls.Add(label6);
     panel3.Dock      = System.Windows.Forms.DockStyle.Fill;
     panel3.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel3.ForeColor = System.Drawing.Color.White;
     panel3.Location  = new System.Drawing.Point(1, 1);
     panel3.Margin    = new System.Windows.Forms.Padding(0);
     panel3.Name      = "panel3";
     panel3.Size      = new System.Drawing.Size(162, 50);
     panel3.TabIndex  = 21;
     label6.AutoSize  = true;
     label6.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label6.ForeColor = System.Drawing.Color.White;
     label6.Location  = new System.Drawing.Point(103, 14);
     label6.Name      = "label6";
     label6.Size      = new System.Drawing.Size(42, 21);
     label6.TabIndex  = 0;
     label6.Text      = "批號";
     panel5.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
     panel5.Controls.Add(label10);
     panel5.Dock        = System.Windows.Forms.DockStyle.Fill;
     panel5.Font        = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel5.ForeColor   = System.Drawing.Color.White;
     panel5.Location    = new System.Drawing.Point(1, 52);
     panel5.Margin      = new System.Windows.Forms.Padding(0);
     panel5.Name        = "panel5";
     panel5.Size        = new System.Drawing.Size(162, 51);
     panel5.TabIndex    = 23;
     label10.AutoSize   = true;
     label10.Font       = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label10.ForeColor  = System.Drawing.Color.White;
     label10.Location   = new System.Drawing.Point(71, 15);
     label10.Name       = "label10";
     label10.Size       = new System.Drawing.Size(74, 21);
     label10.TabIndex   = 0;
     label10.Text       = "製造日期";
     textBox1.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     textBox1.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     textBox1.ForeColor = System.Drawing.Color.DarkGray;
     textBox1.Location  = new System.Drawing.Point(174, 175);
     textBox1.Margin    = new System.Windows.Forms.Padding(10);
     textBox1.Name      = "textBox1";
     textBox1.Size      = new System.Drawing.Size(239, 29);
     textBox1.TabIndex  = 58;
     panel17.BackColor  = System.Drawing.Color.FromArgb(51, 51, 51);
     panel17.Controls.Add(btn_down);
     panel17.Controls.Add(btn_top);
     panel17.Controls.Add(pictureBox2);
     panel17.Controls.Add(keyboardcontrol1);
     panel17.Location  = new System.Drawing.Point(953, 367);
     panel17.Margin    = new System.Windows.Forms.Padding(0);
     panel17.Name      = "panel17";
     panel17.Size      = new System.Drawing.Size(949, 269);
     panel17.TabIndex  = 53;
     btn_down.Location = new System.Drawing.Point(862, 112);
     btn_down.Name     = "btn_down";
     btn_down.Size     = new System.Drawing.Size(58, 40);
     btn_down.TabIndex = 52;
     btn_down.Text     = "Down";
     btn_down.UseVisualStyleBackColor = true;
     btn_down.Click  += new System.EventHandler(btn_KeyboardLocation_Click);
     btn_top.Location = new System.Drawing.Point(862, 55);
     btn_top.Name     = "btn_top";
     btn_top.Size     = new System.Drawing.Size(58, 40);
     btn_top.TabIndex = 51;
     btn_top.Text     = "Top";
     btn_top.UseVisualStyleBackColor = true;
     btn_top.Click                           += new System.EventHandler(btn_KeyboardLocation_Click);
     pictureBox2.Anchor                       = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox2.BackColor                    = System.Drawing.Color.FromArgb(0, 0, 0, 0);
     pictureBox2.Image                        = POS_Client.Properties.Resources.keyboard_close;
     pictureBox2.Location                     = new System.Drawing.Point(842, 7);
     pictureBox2.Name                         = "pictureBox2";
     pictureBox2.Size                         = new System.Drawing.Size(59, 34);
     pictureBox2.SizeMode                     = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     pictureBox2.TabIndex                     = 50;
     pictureBox2.TabStop                      = false;
     pictureBox2.Click                       += new System.EventHandler(pictureBox1_Click);
     keyboardcontrol1.KeyboardType            = KeyboardClassLibrary.BoW.Standard;
     keyboardcontrol1.Location                = new System.Drawing.Point(12, 6);
     keyboardcontrol1.Name                    = "keyboardcontrol1";
     keyboardcontrol1.Size                    = new System.Drawing.Size(816, 260);
     keyboardcontrol1.TabIndex                = 0;
     keyboardcontrol1.UserKeyPressed         += new KeyboardClassLibrary.KeyboardDelegate(keyboardcontrol1_UserKeyPressed);
     btn_Save.BackColor                       = System.Drawing.Color.DarkCyan;
     btn_Save.FlatStyle                       = System.Windows.Forms.FlatStyle.Flat;
     btn_Save.Font                            = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_Save.ForeColor                       = System.Drawing.Color.White;
     btn_Save.Location                        = new System.Drawing.Point(285, 248);
     btn_Save.Name                            = "btn_Save";
     btn_Save.Size                            = new System.Drawing.Size(176, 40);
     btn_Save.TabIndex                        = 54;
     btn_Save.Text                            = "儲存設定並選入商品";
     btn_Save.UseVisualStyleBackColor         = false;
     btn_Save.Click                          += new System.EventHandler(btn_SaveMemberDataAndSelect_Click);
     pictureBox1.Anchor                       = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox1.BackColor                    = System.Drawing.Color.Silver;
     pictureBox1.Image                        = POS_Client.Properties.Resources.keyboard;
     pictureBox1.Location                     = new System.Drawing.Point(879, 690);
     pictureBox1.Name                         = "pictureBox1";
     pictureBox1.Size                         = new System.Drawing.Size(70, 173);
     pictureBox1.SizeMode                     = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     pictureBox1.TabIndex                     = 52;
     pictureBox1.TabStop                      = false;
     pictureBox1.Click                       += new System.EventHandler(pictureBox1_Click);
     infolist.AllowUserToAddRows              = false;
     infolist.AllowUserToDeleteRows           = false;
     infolist.AllowUserToResizeColumns        = false;
     infolist.AllowUserToResizeRows           = false;
     infolist.Anchor                          = System.Windows.Forms.AnchorStyles.None;
     infolist.BackgroundColor                 = System.Drawing.SystemColors.ButtonHighlight;
     infolist.BorderStyle                     = System.Windows.Forms.BorderStyle.Fixed3D;
     infolist.CellBorderStyle                 = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     infolist.ColumnHeadersBorderStyle        = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle.BackColor          = System.Drawing.Color.FromArgb(157, 157, 157);
     dataGridViewCellStyle.Font               = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle.ForeColor          = System.Drawing.Color.White;
     dataGridViewCellStyle.Padding            = new System.Windows.Forms.Padding(6);
     dataGridViewCellStyle.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     infolist.ColumnHeadersDefaultCellStyle   = dataGridViewCellStyle;
     infolist.ColumnHeadersHeightSizeMode     = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     infolist.Columns.AddRange(DeliveryInfo, quantity, select);
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("微軟正黑體", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.Color.Black;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     infolist.DefaultCellStyle          = dataGridViewCellStyle2;
     infolist.EnableHeadersVisualStyles = false;
     infolist.GridColor                         = System.Drawing.SystemColors.ActiveBorder;
     infolist.Location                          = new System.Drawing.Point(52, 321);
     infolist.MultiSelect                       = false;
     infolist.Name                              = "infolist";
     infolist.ReadOnly                          = true;
     infolist.RowHeadersBorderStyle             = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle3.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle3.BackColor           = System.Drawing.Color.White;
     dataGridViewCellStyle3.Font                = new System.Drawing.Font("新細明體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle3.ForeColor           = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.SelectionBackColor  = System.Drawing.Color.White;
     dataGridViewCellStyle3.SelectionForeColor  = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.WrapMode            = System.Windows.Forms.DataGridViewTriState.True;
     infolist.RowHeadersDefaultCellStyle        = dataGridViewCellStyle3;
     infolist.RowHeadersVisible                 = false;
     infolist.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     infolist.RowTemplate.Height                = 102;
     infolist.RowTemplate.ReadOnly              = true;
     infolist.RowTemplate.Resizable             = System.Windows.Forms.DataGridViewTriState.True;
     infolist.ScrollBars                        = System.Windows.Forms.ScrollBars.Vertical;
     infolist.SelectionMode                     = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     infolist.Size                              = new System.Drawing.Size(848, 347);
     infolist.TabIndex                          = 57;
     infolist.CellContentClick                 += new System.Windows.Forms.DataGridViewCellEventHandler(infolist_CellContentClick);
     dataGridViewCellStyle4.Font                = new System.Drawing.Font("新細明體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     DeliveryInfo.DefaultCellStyle              = dataGridViewCellStyle4;
     DeliveryInfo.HeaderText                    = "進貨單資訊";
     DeliveryInfo.Name                          = "DeliveryInfo";
     DeliveryInfo.ReadOnly                      = true;
     DeliveryInfo.Resizable                     = System.Windows.Forms.DataGridViewTriState.False;
     DeliveryInfo.Width                         = 500;
     dataGridViewCellStyle5.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.Font                = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     quantity.DefaultCellStyle                  = dataGridViewCellStyle5;
     quantity.HeaderText                        = "剩餘數量";
     quantity.Name                              = "quantity";
     quantity.ReadOnly                          = true;
     quantity.Resizable                         = System.Windows.Forms.DataGridViewTriState.False;
     quantity.SortMode                          = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     quantity.Width                             = 150;
     dataGridViewCellStyle6.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle6.BackColor           = System.Drawing.Color.White;
     select.DefaultCellStyle                    = dataGridViewCellStyle6;
     select.FillWeight                          = 80f;
     select.HeaderText                          = "選取";
     select.Name              = "select";
     select.ReadOnly          = true;
     select.Resizable         = System.Windows.Forms.DataGridViewTriState.False;
     select.Text              = "選擇";
     select.Width             = 200;
     label1.AutoSize          = true;
     label1.Font              = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     label1.Location          = new System.Drawing.Point(48, 295);
     label1.Name              = "label1";
     label1.Size              = new System.Drawing.Size(185, 20);
     label1.TabIndex          = 58;
     label1.Text              = "自進貨單設定批號中選擇";
     label1.TextAlign         = System.Drawing.ContentAlignment.MiddleCenter;
     l_GDName.Font            = new System.Drawing.Font("微軟正黑體", 14f, System.Drawing.FontStyle.Bold);
     l_GDName.Location        = new System.Drawing.Point(211, 45);
     l_GDName.Name            = "l_GDName";
     l_GDName.Size            = new System.Drawing.Size(553, 24);
     l_GDName.TabIndex        = 59;
     l_GDName.Text            = "label1";
     l_GDName.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     label2.AutoSize          = true;
     label2.Font              = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     label2.Location          = new System.Drawing.Point(211, 92);
     label2.Name              = "label2";
     label2.Size              = new System.Drawing.Size(553, 20);
     label2.TabIndex          = 60;
     label2.Text              = "批發農藥出貨必須設定批號與製造日期,若有不同批號數量需分為兩筆設定。";
     label2.TextAlign         = System.Drawing.ContentAlignment.MiddleCenter;
     label3.AutoSize          = true;
     label3.Font              = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     label3.ForeColor         = System.Drawing.Color.Red;
     label3.Location          = new System.Drawing.Point(239, 295);
     label3.Name              = "label3";
     label3.Size              = new System.Drawing.Size(227, 20);
     label3.TabIndex          = 61;
     label3.Text              = "(*出貨數量不可高於剩餘數量)";
     label3.TextAlign         = System.Drawing.ContentAlignment.MiddleCenter;
     base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     BackColor       = System.Drawing.Color.Silver;
     base.ClientSize = new System.Drawing.Size(950, 681);
     base.Controls.Add(label3);
     base.Controls.Add(label2);
     base.Controls.Add(l_GDName);
     base.Controls.Add(label1);
     base.Controls.Add(infolist);
     base.Controls.Add(btn_Save);
     base.Controls.Add(panel17);
     base.Controls.Add(pictureBox1);
     base.Controls.Add(tableLayoutPanel1);
     base.Controls.Add(btn_back);
     base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     base.Name            = "dialogSetBatchNoAndMFGdate2";
     base.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     Text       = "選擇會員 / 會員編修";
     base.Load += new System.EventHandler(dialogSetBatchNoAndMFGdate2_Load);
     tableLayoutPanel1.ResumeLayout(false);
     panel1.ResumeLayout(false);
     panel13.ResumeLayout(false);
     panel13.PerformLayout();
     panel3.ResumeLayout(false);
     panel3.PerformLayout();
     panel5.ResumeLayout(false);
     panel5.PerformLayout();
     panel17.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
     ((System.ComponentModel.ISupportInitialize)infolist).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
Exemplo n.º 4
0
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
     btn_back         = new System.Windows.Forms.Button();
     btn_useRange     = new System.Windows.Forms.Button();
     panel17          = new System.Windows.Forms.Panel();
     btn_down         = new System.Windows.Forms.Button();
     btn_top          = new System.Windows.Forms.Button();
     pictureBox2      = new System.Windows.Forms.PictureBox();
     keyboardcontrol1 = new KeyboardClassLibrary.Keyboardcontrol();
     infolist         = new System.Windows.Forms.DataGridView();
     label1           = new System.Windows.Forms.Label();
     pictureBox1      = new System.Windows.Forms.PictureBox();
     commodity        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     quantity         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     barcode          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     cropId           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     pestid           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     panel17.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
     ((System.ComponentModel.ISupportInitialize)infolist).BeginInit();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
     SuspendLayout();
     btn_back.BackColor = System.Drawing.Color.FromArgb(153, 153, 153);
     btn_back.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_back.ForeColor = System.Drawing.Color.White;
     btn_back.Location  = new System.Drawing.Point(457, 555);
     btn_back.Name      = "btn_back";
     btn_back.Size      = new System.Drawing.Size(113, 51);
     btn_back.TabIndex  = 0;
     btn_back.Text      = "取消選擇";
     btn_back.UseVisualStyleBackColor = false;
     btn_back.Click        += new System.EventHandler(btn_back_Click);
     btn_useRange.BackColor = System.Drawing.Color.FromArgb(255, 109, 49);
     btn_useRange.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_useRange.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_useRange.ForeColor = System.Drawing.Color.White;
     btn_useRange.Location  = new System.Drawing.Point(296, 555);
     btn_useRange.Name      = "btn_useRange";
     btn_useRange.Size      = new System.Drawing.Size(128, 51);
     btn_useRange.TabIndex  = 42;
     btn_useRange.Text      = "使用範圍";
     btn_useRange.UseVisualStyleBackColor = false;
     btn_useRange.Click += new System.EventHandler(btn_useRange_Click);
     panel17.BackColor   = System.Drawing.Color.FromArgb(51, 51, 51);
     panel17.Controls.Add(btn_down);
     panel17.Controls.Add(btn_top);
     panel17.Controls.Add(pictureBox2);
     panel17.Controls.Add(keyboardcontrol1);
     panel17.Location  = new System.Drawing.Point(953, 367);
     panel17.Margin    = new System.Windows.Forms.Padding(0);
     panel17.Name      = "panel17";
     panel17.Size      = new System.Drawing.Size(949, 269);
     panel17.TabIndex  = 53;
     btn_down.Location = new System.Drawing.Point(862, 112);
     btn_down.Name     = "btn_down";
     btn_down.Size     = new System.Drawing.Size(58, 40);
     btn_down.TabIndex = 52;
     btn_down.Text     = "Down";
     btn_down.UseVisualStyleBackColor = true;
     btn_top.Location = new System.Drawing.Point(862, 55);
     btn_top.Name     = "btn_top";
     btn_top.Size     = new System.Drawing.Size(58, 40);
     btn_top.TabIndex = 51;
     btn_top.Text     = "Top";
     btn_top.UseVisualStyleBackColor = true;
     pictureBox2.Anchor                       = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox2.BackColor                    = System.Drawing.Color.FromArgb(0, 0, 0, 0);
     pictureBox2.Image                        = POS_Client.Properties.Resources.keyboard_close;
     pictureBox2.Location                     = new System.Drawing.Point(842, 7);
     pictureBox2.Name                         = "pictureBox2";
     pictureBox2.Size                         = new System.Drawing.Size(59, 34);
     pictureBox2.SizeMode                     = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     pictureBox2.TabIndex                     = 50;
     pictureBox2.TabStop                      = false;
     keyboardcontrol1.KeyboardType            = KeyboardClassLibrary.BoW.Standard;
     keyboardcontrol1.Location                = new System.Drawing.Point(12, 6);
     keyboardcontrol1.Name                    = "keyboardcontrol1";
     keyboardcontrol1.Size                    = new System.Drawing.Size(816, 260);
     keyboardcontrol1.TabIndex                = 0;
     infolist.AllowUserToAddRows              = false;
     infolist.AllowUserToDeleteRows           = false;
     infolist.AllowUserToResizeColumns        = false;
     infolist.AllowUserToResizeRows           = false;
     infolist.BackgroundColor                 = System.Drawing.SystemColors.ButtonHighlight;
     infolist.BorderStyle                     = System.Windows.Forms.BorderStyle.Fixed3D;
     infolist.CellBorderStyle                 = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     infolist.ColumnHeadersBorderStyle        = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle.BackColor          = System.Drawing.Color.FromArgb(102, 102, 102);
     dataGridViewCellStyle.Font               = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle.ForeColor          = System.Drawing.Color.White;
     dataGridViewCellStyle.Padding            = new System.Windows.Forms.Padding(6);
     dataGridViewCellStyle.SelectionBackColor = System.Drawing.Color.FromArgb(255, 192, 255);
     dataGridViewCellStyle.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     infolist.ColumnHeadersDefaultCellStyle   = dataGridViewCellStyle;
     infolist.ColumnHeadersHeightSizeMode     = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     infolist.Columns.AddRange(commodity, quantity, barcode, cropId, pestid);
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(255, 250, 231);
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     infolist.DefaultCellStyle          = dataGridViewCellStyle2;
     infolist.EnableHeadersVisualStyles = false;
     infolist.GridColor                        = System.Drawing.SystemColors.ActiveBorder;
     infolist.Location                         = new System.Drawing.Point(77, 117);
     infolist.Name                             = "infolist";
     infolist.RowHeadersBorderStyle            = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle3.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor          = System.Drawing.SystemColors.ScrollBar;
     dataGridViewCellStyle3.Font               = new System.Drawing.Font("新細明體", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle3.ForeColor          = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(255, 192, 255);
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     infolist.RowHeadersDefaultCellStyle       = dataGridViewCellStyle3;
     infolist.RowHeadersVisible                = false;
     infolist.RowTemplate.Height               = 24;
     infolist.ScrollBars                       = System.Windows.Forms.ScrollBars.Vertical;
     infolist.SelectionMode                    = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     infolist.Size                             = new System.Drawing.Size(771, 216);
     infolist.TabIndex                         = 54;
     infolist.CellContentClick                += new System.Windows.Forms.DataGridViewCellEventHandler(infolist_CellContentClick);
     label1.AutoSize                           = true;
     label1.Font                      = new System.Drawing.Font("微軟正黑體", 18f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     label1.Location                  = new System.Drawing.Point(217, 83);
     label1.Name                      = "label1";
     label1.Size                      = new System.Drawing.Size(81, 30);
     label1.TabIndex                  = 55;
     label1.Text                      = "label1";
     pictureBox1.Anchor               = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox1.BackColor            = System.Drawing.Color.Silver;
     pictureBox1.Image                = POS_Client.Properties.Resources.keyboard;
     pictureBox1.Location             = new System.Drawing.Point(874, 588);
     pictureBox1.Name                 = "pictureBox1";
     pictureBox1.Size                 = new System.Drawing.Size(70, 46);
     pictureBox1.SizeMode             = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     pictureBox1.TabIndex             = 52;
     pictureBox1.TabStop              = false;
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
     commodity.DefaultCellStyle       = dataGridViewCellStyle4;
     commodity.HeaderText             = "作物";
     commodity.Name                   = "commodity";
     commodity.SortMode               = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     commodity.Width                  = 330;
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     quantity.DefaultCellStyle        = dataGridViewCellStyle5;
     quantity.HeaderText              = "病蟲害";
     quantity.Name                    = "quantity";
     quantity.SortMode                = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     quantity.Width                   = 330;
     barcode.HeaderText               = "條碼";
     barcode.Name                     = "barcode";
     barcode.Resizable                = System.Windows.Forms.DataGridViewTriState.True;
     barcode.SortMode                 = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     barcode.Visible                  = false;
     cropId.HeaderText                = "作物id";
     cropId.Name                      = "cropId";
     cropId.Visible                   = false;
     pestid.HeaderText                = "病蟲害id";
     pestid.Name                      = "pestid";
     pestid.Visible                   = false;
     base.AutoScaleDimensions         = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode               = System.Windows.Forms.AutoScaleMode.Font;
     BackColor       = System.Drawing.Color.Silver;
     base.ClientSize = new System.Drawing.Size(949, 636);
     base.Controls.Add(label1);
     base.Controls.Add(infolist);
     base.Controls.Add(panel17);
     base.Controls.Add(pictureBox1);
     base.Controls.Add(btn_useRange);
     base.Controls.Add(btn_back);
     base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     base.Name            = "frmDialogMed";
     base.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     Text = "選擇會員 / 會員編修";
     panel17.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
     ((System.ComponentModel.ISupportInitialize)infolist).EndInit();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
Exemplo n.º 5
0
 private void InitializeComponent()
 {
     btn_back          = new System.Windows.Forms.Button();
     tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     panel1            = new System.Windows.Forms.Panel();
     dateTimePicker0   = new System.Windows.Forms.DateTimePicker();
     panel13           = new System.Windows.Forms.Panel();
     tb_BatchNo        = new System.Windows.Forms.TextBox();
     panel3            = new System.Windows.Forms.Panel();
     label6            = new System.Windows.Forms.Label();
     panel5            = new System.Windows.Forms.Panel();
     label10           = new System.Windows.Forms.Label();
     textBox1          = new System.Windows.Forms.TextBox();
     panel17           = new System.Windows.Forms.Panel();
     btn_down          = new System.Windows.Forms.Button();
     btn_top           = new System.Windows.Forms.Button();
     keyboardcontrol1  = new KeyboardClassLibrary.Keyboardcontrol();
     btn_Save          = new System.Windows.Forms.Button();
     l_GDName          = new System.Windows.Forms.Label();
     label1            = new System.Windows.Forms.Label();
     pictureBox2       = new System.Windows.Forms.PictureBox();
     pictureBox1       = new System.Windows.Forms.PictureBox();
     tableLayoutPanel1.SuspendLayout();
     panel1.SuspendLayout();
     panel13.SuspendLayout();
     panel3.SuspendLayout();
     panel5.SuspendLayout();
     panel17.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
     SuspendLayout();
     btn_back.BackColor = System.Drawing.Color.FromArgb(153, 153, 153);
     btn_back.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_back.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_back.ForeColor = System.Drawing.Color.White;
     btn_back.Location  = new System.Drawing.Point(521, 248);
     btn_back.Name      = "btn_back";
     btn_back.Size      = new System.Drawing.Size(92, 40);
     btn_back.TabIndex  = 0;
     btn_back.Text      = "放棄設定";
     btn_back.UseVisualStyleBackColor = false;
     btn_back.Click += new System.EventHandler(btn_back_Click);
     tableLayoutPanel1.BackColor       = System.Drawing.Color.White;
     tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
     tableLayoutPanel1.ColumnCount     = 4;
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 162f));
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 162f));
     tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.Controls.Add(panel1, 1, 1);
     tableLayoutPanel1.Controls.Add(panel13, 1, 0);
     tableLayoutPanel1.Controls.Add(panel3, 0, 0);
     tableLayoutPanel1.Controls.Add(panel5, 0, 1);
     tableLayoutPanel1.Location = new System.Drawing.Point(51, 129);
     tableLayoutPanel1.Name     = "tableLayoutPanel1";
     tableLayoutPanel1.RowCount = 2;
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f));
     tableLayoutPanel1.Size     = new System.Drawing.Size(850, 104);
     tableLayoutPanel1.TabIndex = 41;
     tableLayoutPanel1.SetColumnSpan(panel1, 3);
     panel1.Controls.Add(dateTimePicker0);
     panel1.Dock                   = System.Windows.Forms.DockStyle.Fill;
     panel1.Location               = new System.Drawing.Point(164, 52);
     panel1.Margin                 = new System.Windows.Forms.Padding(0);
     panel1.Name                   = "panel1";
     panel1.Size                   = new System.Drawing.Size(685, 51);
     panel1.TabIndex               = 55;
     dateTimePicker0.Anchor        = System.Windows.Forms.AnchorStyles.Left;
     dateTimePicker0.Checked       = false;
     dateTimePicker0.CustomFormat  = "yyyy-MM-dd";
     dateTimePicker0.Font          = new System.Drawing.Font("微軟正黑體", 14.25f);
     dateTimePicker0.Format        = System.Windows.Forms.DateTimePickerFormat.Custom;
     dateTimePicker0.Location      = new System.Drawing.Point(10, 9);
     dateTimePicker0.Margin        = new System.Windows.Forms.Padding(10, 13, 3, 3);
     dateTimePicker0.Name          = "dateTimePicker0";
     dateTimePicker0.ShowCheckBox  = true;
     dateTimePicker0.Size          = new System.Drawing.Size(181, 33);
     dateTimePicker0.TabIndex      = 5;
     dateTimePicker0.Value         = new System.DateTime(2017, 1, 1, 0, 0, 0, 0);
     dateTimePicker0.ValueChanged += new System.EventHandler(dateTimePicker0_ValueChanged);
     tableLayoutPanel1.SetColumnSpan(panel13, 3);
     panel13.Controls.Add(tb_BatchNo);
     panel13.Dock         = System.Windows.Forms.DockStyle.Fill;
     panel13.Location     = new System.Drawing.Point(164, 1);
     panel13.Margin       = new System.Windows.Forms.Padding(0);
     panel13.Name         = "panel13";
     panel13.Size         = new System.Drawing.Size(685, 50);
     panel13.TabIndex     = 54;
     tb_BatchNo.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_BatchNo.ForeColor = System.Drawing.Color.DarkGray;
     tb_BatchNo.ImeMode   = System.Windows.Forms.ImeMode.Disable;
     tb_BatchNo.Location  = new System.Drawing.Point(9, 11);
     tb_BatchNo.Margin    = new System.Windows.Forms.Padding(10);
     tb_BatchNo.MaxLength = 20;
     tb_BatchNo.Name      = "tb_BatchNo";
     tb_BatchNo.Size      = new System.Drawing.Size(666, 29);
     tb_BatchNo.TabIndex  = 43;
     panel3.BackColor     = System.Drawing.Color.FromArgb(102, 102, 102);
     panel3.Controls.Add(label6);
     panel3.Dock      = System.Windows.Forms.DockStyle.Fill;
     panel3.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel3.ForeColor = System.Drawing.Color.White;
     panel3.Location  = new System.Drawing.Point(1, 1);
     panel3.Margin    = new System.Windows.Forms.Padding(0);
     panel3.Name      = "panel3";
     panel3.Size      = new System.Drawing.Size(162, 50);
     panel3.TabIndex  = 21;
     label6.AutoSize  = true;
     label6.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label6.ForeColor = System.Drawing.Color.White;
     label6.Location  = new System.Drawing.Point(103, 14);
     label6.Name      = "label6";
     label6.Size      = new System.Drawing.Size(42, 21);
     label6.TabIndex  = 0;
     label6.Text      = "批號";
     panel5.BackColor = System.Drawing.Color.FromArgb(102, 102, 102);
     panel5.Controls.Add(label10);
     panel5.Dock        = System.Windows.Forms.DockStyle.Fill;
     panel5.Font        = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     panel5.ForeColor   = System.Drawing.Color.White;
     panel5.Location    = new System.Drawing.Point(1, 52);
     panel5.Margin      = new System.Windows.Forms.Padding(0);
     panel5.Name        = "panel5";
     panel5.Size        = new System.Drawing.Size(162, 51);
     panel5.TabIndex    = 23;
     label10.AutoSize   = true;
     label10.Font       = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label10.ForeColor  = System.Drawing.Color.White;
     label10.Location   = new System.Drawing.Point(71, 15);
     label10.Name       = "label10";
     label10.Size       = new System.Drawing.Size(74, 21);
     label10.TabIndex   = 0;
     label10.Text       = "製造日期";
     textBox1.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     textBox1.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     textBox1.ForeColor = System.Drawing.Color.DarkGray;
     textBox1.Location  = new System.Drawing.Point(174, 175);
     textBox1.Margin    = new System.Windows.Forms.Padding(10);
     textBox1.Name      = "textBox1";
     textBox1.Size      = new System.Drawing.Size(239, 29);
     textBox1.TabIndex  = 58;
     panel17.BackColor  = System.Drawing.Color.FromArgb(51, 51, 51);
     panel17.Controls.Add(btn_down);
     panel17.Controls.Add(btn_top);
     panel17.Controls.Add(pictureBox2);
     panel17.Controls.Add(keyboardcontrol1);
     panel17.Location  = new System.Drawing.Point(953, 367);
     panel17.Margin    = new System.Windows.Forms.Padding(0);
     panel17.Name      = "panel17";
     panel17.Size      = new System.Drawing.Size(949, 269);
     panel17.TabIndex  = 53;
     btn_down.Location = new System.Drawing.Point(862, 112);
     btn_down.Name     = "btn_down";
     btn_down.Size     = new System.Drawing.Size(58, 40);
     btn_down.TabIndex = 52;
     btn_down.Text     = "Down";
     btn_down.UseVisualStyleBackColor = true;
     btn_down.Click  += new System.EventHandler(btn_KeyboardLocation_Click);
     btn_top.Location = new System.Drawing.Point(862, 55);
     btn_top.Name     = "btn_top";
     btn_top.Size     = new System.Drawing.Size(58, 40);
     btn_top.TabIndex = 51;
     btn_top.Text     = "Top";
     btn_top.UseVisualStyleBackColor = true;
     btn_top.Click += new System.EventHandler(btn_KeyboardLocation_Click);
     keyboardcontrol1.KeyboardType    = KeyboardClassLibrary.BoW.Standard;
     keyboardcontrol1.Location        = new System.Drawing.Point(12, 6);
     keyboardcontrol1.Name            = "keyboardcontrol1";
     keyboardcontrol1.Size            = new System.Drawing.Size(816, 260);
     keyboardcontrol1.TabIndex        = 0;
     keyboardcontrol1.UserKeyPressed += new KeyboardClassLibrary.KeyboardDelegate(keyboardcontrol1_UserKeyPressed);
     btn_Save.BackColor = System.Drawing.Color.DarkCyan;
     btn_Save.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_Save.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_Save.ForeColor = System.Drawing.Color.White;
     btn_Save.Location  = new System.Drawing.Point(367, 248);
     btn_Save.Name      = "btn_Save";
     btn_Save.Size      = new System.Drawing.Size(92, 40);
     btn_Save.TabIndex  = 54;
     btn_Save.Text      = "確定";
     btn_Save.UseVisualStyleBackColor = false;
     btn_Save.Click          += new System.EventHandler(btn_SaveMemberDataAndSelect_Click);
     l_GDName.Font            = new System.Drawing.Font("微軟正黑體", 14f, System.Drawing.FontStyle.Bold);
     l_GDName.Location        = new System.Drawing.Point(215, 37);
     l_GDName.Name            = "l_GDName";
     l_GDName.Size            = new System.Drawing.Size(553, 24);
     l_GDName.TabIndex        = 55;
     l_GDName.Text            = "label1";
     l_GDName.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     label1.AutoSize          = true;
     label1.Font              = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     label1.Location          = new System.Drawing.Point(211, 84);
     label1.Name              = "label1";
     label1.Size              = new System.Drawing.Size(608, 20);
     label1.TabIndex          = 57;
     label1.Text              = "管制農藥進行原廠退貨/過期退回必須設定商品之批號與製造日期,請補登後方可執行";
     label1.TextAlign         = System.Drawing.ContentAlignment.MiddleCenter;
     pictureBox2.Anchor       = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox2.BackColor    = System.Drawing.Color.FromArgb(0, 0, 0, 0);
     pictureBox2.Image        = POS_Client.Properties.Resources.keyboard_close;
     pictureBox2.Location     = new System.Drawing.Point(842, 7);
     pictureBox2.Name         = "pictureBox2";
     pictureBox2.Size         = new System.Drawing.Size(59, 34);
     pictureBox2.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     pictureBox2.TabIndex     = 50;
     pictureBox2.TabStop      = false;
     pictureBox2.Click       += new System.EventHandler(pictureBox1_Click);
     pictureBox1.Anchor       = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom);
     pictureBox1.BackColor    = System.Drawing.Color.Silver;
     pictureBox1.Image        = POS_Client.Properties.Resources.keyboard;
     pictureBox1.Location     = new System.Drawing.Point(878, 493);
     pictureBox1.Name         = "pictureBox1";
     pictureBox1.Size         = new System.Drawing.Size(70, 0);
     pictureBox1.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     pictureBox1.TabIndex     = 52;
     pictureBox1.TabStop      = false;
     pictureBox1.Click       += new System.EventHandler(pictureBox1_Click);
     base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     BackColor       = System.Drawing.Color.Silver;
     base.ClientSize = new System.Drawing.Size(949, 311);
     base.Controls.Add(label1);
     base.Controls.Add(l_GDName);
     base.Controls.Add(btn_Save);
     base.Controls.Add(panel17);
     base.Controls.Add(pictureBox1);
     base.Controls.Add(tableLayoutPanel1);
     base.Controls.Add(btn_back);
     base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     base.Name            = "dialogSetBatchNoAndMFGdate3";
     base.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     Text       = "選擇會員 / 會員編修";
     base.Load += new System.EventHandler(dialogSetBatchNoAndMFGdate3_Load);
     tableLayoutPanel1.ResumeLayout(false);
     panel1.ResumeLayout(false);
     panel13.ResumeLayout(false);
     panel13.PerformLayout();
     panel3.ResumeLayout(false);
     panel3.PerformLayout();
     panel5.ResumeLayout(false);
     panel5.PerformLayout();
     panel17.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
Exemplo n.º 6
0
 private void InitializeComponent()
 {
     l_userLogin      = new System.Windows.Forms.Label();
     tb_account       = new System.Windows.Forms.TextBox();
     tb_password      = new System.Windows.Forms.TextBox();
     btn_login        = new System.Windows.Forms.Button();
     btn_reset        = new System.Windows.Forms.Button();
     label2           = new System.Windows.Forms.Label();
     keyboardcontrol1 = new KeyboardClassLibrary.Keyboardcontrol();
     flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
     comboBox1        = new System.Windows.Forms.ComboBox();
     SuspendLayout();
     l_userLogin.AutoSize              = true;
     l_userLogin.Font                  = new System.Drawing.Font("微軟正黑體", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     l_userLogin.Image                 = POS_Client.Properties.Resources.oblique;
     l_userLogin.ImageAlign            = System.Drawing.ContentAlignment.MiddleLeft;
     l_userLogin.Location              = new System.Drawing.Point(49, 109);
     l_userLogin.Name                  = "l_userLogin";
     l_userLogin.Size                  = new System.Drawing.Size(132, 26);
     l_userLogin.TabIndex              = 10;
     l_userLogin.Text                  = "   使用者登入";
     l_userLogin.TextAlign             = System.Drawing.ContentAlignment.MiddleRight;
     tb_account.Font                   = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     tb_account.ForeColor              = System.Drawing.Color.DarkGray;
     tb_account.ImeMode                = System.Windows.Forms.ImeMode.Disable;
     tb_account.Location               = new System.Drawing.Point(187, 87);
     tb_account.Name                   = "tb_account";
     tb_account.Size                   = new System.Drawing.Size(219, 29);
     tb_account.TabIndex               = 0;
     tb_account.Text                   = "請輸入登入帳號";
     tb_account.Enter                 += new System.EventHandler(tb_account_Enter);
     tb_account.KeyDown               += new System.Windows.Forms.KeyEventHandler(tb_account_KeyDown);
     tb_account.Leave                 += new System.EventHandler(tb_account_Leave);
     tb_password.Font                  = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     tb_password.ForeColor             = System.Drawing.Color.DarkGray;
     tb_password.ImeMode               = System.Windows.Forms.ImeMode.Disable;
     tb_password.Location              = new System.Drawing.Point(187, 128);
     tb_password.Name                  = "tb_password";
     tb_password.Size                  = new System.Drawing.Size(219, 29);
     tb_password.TabIndex              = 1;
     tb_password.Text                  = "請輸入登入密碼";
     tb_password.Enter                += new System.EventHandler(tb_password_Enter);
     tb_password.KeyDown              += new System.Windows.Forms.KeyEventHandler(tb_password_KeyDown);
     tb_password.Leave                += new System.EventHandler(tb_password_Leave);
     btn_login.BackColor               = System.Drawing.Color.FromArgb(157, 189, 59);
     btn_login.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     btn_login.Font                    = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     btn_login.ForeColor               = System.Drawing.Color.White;
     btn_login.Location                = new System.Drawing.Point(440, 87);
     btn_login.Name                    = "btn_login";
     btn_login.Size                    = new System.Drawing.Size(101, 70);
     btn_login.TabIndex                = 2;
     btn_login.Text                    = "登入";
     btn_login.UseVisualStyleBackColor = false;
     btn_login.Click                  += new System.EventHandler(btn_login_Click);
     btn_reset.BackColor               = System.Drawing.Color.DarkGray;
     btn_reset.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     btn_reset.Font                    = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     btn_reset.ForeColor               = System.Drawing.Color.White;
     btn_reset.Location                = new System.Drawing.Point(559, 87);
     btn_reset.Name                    = "btn_reset";
     btn_reset.Size                    = new System.Drawing.Size(101, 70);
     btn_reset.TabIndex                = 4;
     btn_reset.Text                    = "清除重設";
     btn_reset.UseVisualStyleBackColor = false;
     btn_reset.Click                  += new System.EventHandler(btn_reset_Click);
     label2.AutoSize                   = true;
     label2.Font                      = new System.Drawing.Font("微軟正黑體", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label2.Image                     = POS_Client.Properties.Resources.oblique;
     label2.ImageAlign                = System.Drawing.ContentAlignment.MiddleLeft;
     label2.Location                  = new System.Drawing.Point(48, 440);
     label2.Name                      = "label2";
     label2.Size                      = new System.Drawing.Size(153, 26);
     label2.TabIndex                  = 6;
     label2.Text                      = "   資料更新紀錄";
     label2.TextAlign                 = System.Drawing.ContentAlignment.MiddleRight;
     label2.Visible                   = false;
     keyboardcontrol1.KeyboardType    = KeyboardClassLibrary.BoW.Standard;
     keyboardcontrol1.Location        = new System.Drawing.Point(77, 172);
     keyboardcontrol1.Name            = "keyboardcontrol1";
     keyboardcontrol1.Size            = new System.Drawing.Size(816, 260);
     keyboardcontrol1.TabIndex        = 10;
     keyboardcontrol1.UserKeyPressed += new KeyboardClassLibrary.KeyboardDelegate(keyboardcontrol1_UserKeyPressed);
     flowLayoutPanel1.AutoScroll      = true;
     flowLayoutPanel1.BackColor       = System.Drawing.Color.White;
     flowLayoutPanel1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     flowLayoutPanel1.FlowDirection   = System.Windows.Forms.FlowDirection.TopDown;
     flowLayoutPanel1.ForeColor       = System.Drawing.Color.Black;
     flowLayoutPanel1.Location        = new System.Drawing.Point(48, 469);
     flowLayoutPanel1.Name            = "flowLayoutPanel1";
     flowLayoutPanel1.Size            = new System.Drawing.Size(886, 142);
     flowLayoutPanel1.TabIndex        = 33;
     flowLayoutPanel1.Visible         = false;
     flowLayoutPanel1.WrapContents    = false;
     comboBox1.Anchor                 = System.Windows.Forms.AnchorStyles.Left;
     comboBox1.DropDownStyle          = System.Windows.Forms.ComboBoxStyle.DropDownList;
     comboBox1.Font                   = new System.Drawing.Font("微軟正黑體", 14.25f);
     comboBox1.FormattingEnabled      = true;
     comboBox1.Location               = new System.Drawing.Point(685, 87);
     comboBox1.Margin                 = new System.Windows.Forms.Padding(10, 3, 3, 3);
     comboBox1.Name                   = "comboBox1";
     comboBox1.Size                   = new System.Drawing.Size(128, 32);
     comboBox1.TabIndex               = 43;
     comboBox1.Visible                = false;
     base.AutoScaleDimensions         = new System.Drawing.SizeF(6f, 12f);
     base.ClientSize                  = new System.Drawing.Size(981, 661);
     base.Controls.Add(comboBox1);
     base.Controls.Add(flowLayoutPanel1);
     base.Controls.Add(label2);
     base.Controls.Add(btn_reset);
     base.Controls.Add(btn_login);
     base.Controls.Add(tb_password);
     base.Controls.Add(tb_account);
     base.Controls.Add(l_userLogin);
     base.Controls.Add(keyboardcontrol1);
     base.Name          = "frmLogin";
     base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     base.Load         += new System.EventHandler(frmLogin_Load);
     base.Controls.SetChildIndex(keyboardcontrol1, 0);
     base.Controls.SetChildIndex(l_userLogin, 0);
     base.Controls.SetChildIndex(tb_account, 0);
     base.Controls.SetChildIndex(tb_password, 0);
     base.Controls.SetChildIndex(btn_login, 0);
     base.Controls.SetChildIndex(btn_reset, 0);
     base.Controls.SetChildIndex(label2, 0);
     base.Controls.SetChildIndex(flowLayoutPanel1, 0);
     base.Controls.SetChildIndex(comboBox1, 0);
     ResumeLayout(false);
     PerformLayout();
 }