private void InitializeComponent()
        {
            this._pnlHeader = new HeaderPanel();
            this._lblHeader = new HeaderLabel();
            this._glAttributes = new GroupLabel();
            this._glType = new GroupLabel();
            this._txtType = new System.Windows.Forms.TextBox();
            this._pnlMain = new System.Windows.Forms.Panel();
            this._filterList = new EditableTreeList();
            this._rbCompare = new System.Windows.Forms.RadioButton();
            this._lblCompare = new System.Windows.Forms.Label();
            this._dialogButtons = new DefaultDialogButtons();
            this._lblType = new System.Windows.Forms.Label();
            this._txtMethod = new System.Windows.Forms.TextBox();
            this._txtArgument = new System.Windows.Forms.TextBox();
            this._pnlRight = new System.Windows.Forms.Panel();
            this._lblMethod = new System.Windows.Forms.Label();
            this._rbDelegate = new System.Windows.Forms.RadioButton();
            this._pnlCompare = new System.Windows.Forms.Panel();
            this._cbCompare = new System.Windows.Forms.ComboBox();
            this._lblArgument = new System.Windows.Forms.Label();
            this._pnlDelegate = new System.Windows.Forms.Panel();
            this._txtType.Location = new System.Drawing.Point(0, 20);
            this._txtType.Size = new System.Drawing.Size(211, 20);

            this._lblHeader.Location = new System.Drawing.Point(0, 0);
            this._lblHeader.Size = new System.Drawing.Size(434, 16);
            this._lblHeader.Anchor = (System.Windows.Forms.AnchorStyles.Top
                | System.Windows.Forms.AnchorStyles.Left);
            this._pnlHeader.Controls.AddRange(new System.Windows.Forms.Control[] {
                this._lblHeader
            });
            this._pnlHeader.Location = new System.Drawing.Point(6, 5);
            this._pnlHeader.Size = new System.Drawing.Size(434, 16);
            this._pnlHeader.Anchor = (System.Windows.Forms.AnchorStyles.Top
                | System.Windows.Forms.AnchorStyles.Left);
            this._pnlMain.Controls.AddRange(new System.Windows.Forms.Control[] {this._dialogButtons,
                                                                                  this._pnlRight,
                                                                                  this._filterList});
            this._pnlMain.Location = new System.Drawing.Point(6, 27);
            this._pnlMain.Size = new System.Drawing.Size(434, 253);
            this._pnlMain.Anchor = (System.Windows.Forms.AnchorStyles.Bottom
                | System.Windows.Forms.AnchorStyles.Left);
            this._filterList.Size = new System.Drawing.Size(198, 224);
            this._filterList.Location = new System.Drawing.Point(0, 0);
            this._rbCompare.Location = new System.Drawing.Point(8, 21);
            this._rbCompare.Size = new System.Drawing.Size(211, 17);
            this._lblCompare.Location = new System.Drawing.Point(0, 4);
            this._lblCompare.Size = new System.Drawing.Size(211, 16);
            this._dialogButtons.Location = new System.Drawing.Point(197, 230);
            this._dialogButtons.Size = new System.Drawing.Size(237, 23);
            this._lblType.Location = new System.Drawing.Point(0, 4);
            this._lblType.Size = new System.Drawing.Size(211, 16);
            this._txtMethod.Location = new System.Drawing.Point(0, 64);
            this._txtMethod.Size = new System.Drawing.Size(211, 20);
            this._txtArgument.Location = new System.Drawing.Point(0, 64);
            this._txtArgument.Size = new System.Drawing.Size(211, 20);
            this._pnlRight.Controls.AddRange(new System.Windows.Forms.Control[] {this._pnlCompare,
                                                                                 this._pnlDelegate,
                                                                                 this._glAttributes,
                                                                                 this._glType,
                                                                                 this._rbDelegate,
                                                                                 this._rbCompare});
            this._pnlRight.Location = new System.Drawing.Point(215, 0);
            this._pnlRight.Size = new System.Drawing.Size(219, 226);
            this._lblMethod.Location = new System.Drawing.Point(0, 48);
            this._lblMethod.Size = new System.Drawing.Size(211, 16);
            this._glAttributes.Location = new System.Drawing.Point(0, 73);
            this._glAttributes.Size = new System.Drawing.Size(216, 16);
            this._rbDelegate.Location = new System.Drawing.Point(8, 46);
            this._rbDelegate.Size = new System.Drawing.Size(211, 17);
            this._glType.Size = new System.Drawing.Size(216, 16);
            this._pnlCompare.Controls.AddRange(new System.Windows.Forms.Control[] {this._txtArgument,
                                                                                     this._lblArgument,
                                                                                     this._cbCompare,
                                                                                     this._lblCompare});
            this._pnlCompare.Location = new System.Drawing.Point(8, 90);
            this._pnlCompare.Size = new System.Drawing.Size(211, 136);
            this._cbCompare.DropDownWidth = 211;
            this._cbCompare.Location = new System.Drawing.Point(0, 20);
            this._cbCompare.Size = new System.Drawing.Size(211, 21);
            this._cbCompare.Sorted = true;
            this._lblArgument.Location = new System.Drawing.Point(0, 48);
            this._lblArgument.Size = new System.Drawing.Size(211, 16);
            this._pnlDelegate.Controls.AddRange(new System.Windows.Forms.Control[] {this._txtType,
                                                                                      this._txtMethod,
                                                                                      this._lblMethod,
                                                                                      this._lblType});
            this._pnlDelegate.Location = new System.Drawing.Point(8, 90);
            this._pnlDelegate.Size = new System.Drawing.Size(211, 136);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.ClientSize = new System.Drawing.Size(448, 289);
            this.AcceptButton = _dialogButtons.CmdOK;
            this.CancelButton = _dialogButtons.CmdCancel;
            this.Controls.AddRange(new System.Windows.Forms.Control[] {this._pnlHeader, this._pnlMain});
        }
Esempio n. 2
0
            public SearchControls(MainForm form)
            {
                _form = form;
                _tab  = new TabPage(string.Format("Search {0}", _form.tabControlSearchText.TabCount + 1));
                _form.tabControlSearchText.Controls.Add(_tab);
                _form.tabControlSearchText.SelectedTab = _tab;
                Search = new Search(form.SourceDev);
                Search.SearchControls = this;

                SearchCriteriaTextEditorHost          = new System.Windows.Forms.Integration.ElementHost();
                SearchCriteriaTextEditorHost.Dock     = DockStyle.Fill;
                SearchCriteriaTextEditorHost.Location = new Point(0, 0);
                SearchCriteriaTextEditorHost.TabIndex = 1;
                SearchCriteriaTextEditorHost.Child    = Search.SearchCriteriaTextEditor;

                _tab.Tag = this;
                _tab.Controls.Add(SearchCriteriaTextEditorHost);
                _tab.UseVisualStyleBackColor = true;
                Search.SearchCriteriaTextEditor.Focus();

                Search.FillTreeView(TreeViewResults);
                TreeViewResults.CheckBoxes    = false;
                TreeViewResults.Dock          = DockStyle.Fill;
                TreeViewResults.HideSelection = false;
                TreeViewResults.Location      = new Point(0, 0);
                TreeViewResults.Margin        = new Padding(4);
                TreeViewResults.Name          = "treeViewResults";
                TreeViewResults.TabIndex      = 2121;
                TreeViewResults.AfterSelect  += new TreeViewEventHandler(form.TreeViewResultsAfterSelect);
                _form.panelTree.Controls.Add(TreeViewResults);

                TextEditorHost          = new System.Windows.Forms.Integration.ElementHost();
                TextEditorHost.Dock     = DockStyle.Fill;
                TextEditorHost.Location = new Point(0, 0);
                TextEditorHost.Margin   = new System.Windows.Forms.Padding(4);
                TextEditorHost.TabIndex = 150;
                TextEditorHost.Child    = Search.TextEditor;
                _form.panelISBLResult.Controls.Add(TextEditorHost);

                TextBoxFilterName              = new System.Windows.Forms.TextBox();
                TextBoxFilterName.Dock         = System.Windows.Forms.DockStyle.Fill;
                TextBoxFilterName.Location     = new System.Drawing.Point(0, 0);
                TextBoxFilterName.Margin       = new System.Windows.Forms.Padding(4);
                TextBoxFilterName.Name         = "textBoxFilter";
                TextBoxFilterName.Size         = new System.Drawing.Size(280, 22);
                TextBoxFilterName.TabIndex     = 2111;
                TextBoxFilterName.TextChanged += new System.EventHandler(form.TextBoxFilter_TextChanged);
                _form.panelFilterTreeName.Controls.Add(TextBoxFilterName);

                TextBoxFilterStartDate              = new System.Windows.Forms.DateTimePicker();
                TextBoxFilterStartDate.Format       = DateTimePickerFormat.Custom;
                TextBoxFilterStartDate.CustomFormat = "yyyy-MM-dd HH:mm";
                TextBoxFilterStartDate.Location     = new System.Drawing.Point(0, 0);
                TextBoxFilterStartDate.Margin       = new System.Windows.Forms.Padding(4);
                TextBoxFilterStartDate.Name         = "textBoxFilterStartDate";
                TextBoxFilterStartDate.Size         = new System.Drawing.Size(130, 22);
                TextBoxFilterStartDate.TabIndex     = 2112;
                TextBoxFilterStartDate.TextChanged += new System.EventHandler(form.TextBoxFilterStartDate_TextChanged);
                TextBoxFilterStartDate.Value        = DateTimePicker.MinimumDateTime.Date;
                _form.panelFilterTreeDate.Controls.Add(TextBoxFilterStartDate);

                TextBoxFilterEndDate              = new System.Windows.Forms.DateTimePicker();
                TextBoxFilterEndDate.Format       = DateTimePickerFormat.Custom;
                TextBoxFilterEndDate.CustomFormat = "yyyy-MM-dd HH:mm";
                TextBoxFilterEndDate.Location     = new System.Drawing.Point(150, 0);
                TextBoxFilterEndDate.Margin       = new System.Windows.Forms.Padding(4);
                TextBoxFilterEndDate.Name         = "textBoxFilterEndDate";
                TextBoxFilterEndDate.Size         = new System.Drawing.Size(130, 22);
                TextBoxFilterEndDate.TabIndex     = 2113;
                TextBoxFilterEndDate.TextChanged += new System.EventHandler(form.TextBoxFilterEndDate_TextChanged);
                TextBoxFilterEndDate.Value        = DateTimePicker.MaximumDateTime.Date.AddDays(-1).AddHours(23).AddMinutes(59);
                _form.panelFilterTreeDate.Controls.Add(TextBoxFilterEndDate);

                CheckBoxFindAll          = new System.Windows.Forms.CheckBox();
                CheckBoxFindAll.AutoSize = true;
                CheckBoxFindAll.Dock     = System.Windows.Forms.DockStyle.None;
                CheckBoxFindAll.Location = new System.Drawing.Point(320, 4);
                CheckBoxFindAll.Margin   = new System.Windows.Forms.Padding(4);
                CheckBoxFindAll.Name     = "checkBoxFindAll";
                CheckBoxFindAll.Size     = new System.Drawing.Size(146, 28);
                CheckBoxFindAll.TabIndex = 1226;
                CheckBoxFindAll.Text     = "satisfies all criteria";
                CheckBoxFindAll.UseVisualStyleBackColor = true;
                CheckBoxFindAll.CheckedChanged         += new System.EventHandler(form.checkBoxFindAll_CheckedChanged);
                _form.panelSearchButtons.Controls.Add(CheckBoxFindAll);

                CheckBoxFindRegExp          = new System.Windows.Forms.CheckBox();
                CheckBoxFindRegExp.AutoSize = true;
                CheckBoxFindRegExp.Dock     = System.Windows.Forms.DockStyle.None;
                CheckBoxFindRegExp.Location = new System.Drawing.Point(150, 4);
                CheckBoxFindRegExp.Margin   = new System.Windows.Forms.Padding(4);
                CheckBoxFindRegExp.Name     = "CheckBoxFindRegExp";
                CheckBoxFindRegExp.Size     = new System.Drawing.Size(170, 28);
                CheckBoxFindRegExp.TabIndex = 1225;
                CheckBoxFindRegExp.Text     = ".* (regular expression)";
                CheckBoxFindRegExp.UseVisualStyleBackColor = true;
                CheckBoxFindRegExp.CheckedChanged         += new System.EventHandler(form.checkBoxFindRegExp_CheckedChanged);
                _form.panelSearchButtons.Controls.Add(CheckBoxFindRegExp);

                CheckBoxFindCaseSensitive          = new System.Windows.Forms.CheckBox();
                CheckBoxFindCaseSensitive.AutoSize = true;
                CheckBoxFindCaseSensitive.Dock     = System.Windows.Forms.DockStyle.None;
                CheckBoxFindCaseSensitive.Location = new System.Drawing.Point(2, 4);
                CheckBoxFindCaseSensitive.Margin   = new System.Windows.Forms.Padding(4);
                CheckBoxFindCaseSensitive.Name     = "checkBoxFindCaseSensitive";
                CheckBoxFindCaseSensitive.Size     = new System.Drawing.Size(150, 28);
                CheckBoxFindCaseSensitive.TabIndex = 1224;
                CheckBoxFindCaseSensitive.Text     = "Aa (case sensitive)";
                CheckBoxFindCaseSensitive.UseVisualStyleBackColor = true;
                CheckBoxFindCaseSensitive.CheckedChanged         += new System.EventHandler(form.checkBoxFindCaseSensitive_CheckedChanged);
                _form.panelSearchButtons.Controls.Add(CheckBoxFindCaseSensitive);

                this.Activate();
            }
        private void InitializeComponent()
        {
            this._pnlHeader        = new HeaderPanel();
            this._lblHeader        = new HeaderLabel();
            this._glAttributes     = new GroupLabel();
            this._glType           = new GroupLabel();
            this._txtType          = new System.Windows.Forms.TextBox();
            this._pnlMain          = new System.Windows.Forms.Panel();
            this._filterList       = new EditableTreeList();
            this._rbCompare        = new System.Windows.Forms.RadioButton();
            this._lblCompare       = new System.Windows.Forms.Label();
            this._dialogButtons    = new DefaultDialogButtons();
            this._lblType          = new System.Windows.Forms.Label();
            this._txtMethod        = new System.Windows.Forms.TextBox();
            this._txtArgument      = new System.Windows.Forms.TextBox();
            this._pnlRight         = new System.Windows.Forms.Panel();
            this._lblMethod        = new System.Windows.Forms.Label();
            this._rbDelegate       = new System.Windows.Forms.RadioButton();
            this._pnlCompare       = new System.Windows.Forms.Panel();
            this._cbCompare        = new System.Windows.Forms.ComboBox();
            this._lblArgument      = new System.Windows.Forms.Label();
            this._pnlDelegate      = new System.Windows.Forms.Panel();
            this._txtType.Location = new System.Drawing.Point(0, 20);
            this._txtType.Size     = new System.Drawing.Size(211, 20);

            this._lblHeader.Location = new System.Drawing.Point(0, 0);
            this._lblHeader.Size     = new System.Drawing.Size(434, 16);
            this._lblHeader.Anchor   = (System.Windows.Forms.AnchorStyles.Top
                                        | System.Windows.Forms.AnchorStyles.Left);
            this._pnlHeader.Controls.AddRange(new System.Windows.Forms.Control[] {
                this._lblHeader
            });
            this._pnlHeader.Location = new System.Drawing.Point(6, 5);
            this._pnlHeader.Size     = new System.Drawing.Size(434, 16);
            this._pnlHeader.Anchor   = (System.Windows.Forms.AnchorStyles.Top
                                        | System.Windows.Forms.AnchorStyles.Left);
            this._pnlMain.Controls.AddRange(new System.Windows.Forms.Control[] { this._dialogButtons,
                                                                                 this._pnlRight,
                                                                                 this._filterList });
            this._pnlMain.Location = new System.Drawing.Point(6, 27);
            this._pnlMain.Size     = new System.Drawing.Size(434, 253);
            this._pnlMain.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom
                                      | System.Windows.Forms.AnchorStyles.Left);
            this._filterList.Size        = new System.Drawing.Size(198, 224);
            this._filterList.Location    = new System.Drawing.Point(0, 0);
            this._rbCompare.Location     = new System.Drawing.Point(8, 21);
            this._rbCompare.Size         = new System.Drawing.Size(211, 17);
            this._lblCompare.Location    = new System.Drawing.Point(0, 4);
            this._lblCompare.Size        = new System.Drawing.Size(211, 16);
            this._dialogButtons.Location = new System.Drawing.Point(197, 230);
            this._dialogButtons.Size     = new System.Drawing.Size(237, 23);
            this._lblType.Location       = new System.Drawing.Point(0, 4);
            this._lblType.Size           = new System.Drawing.Size(211, 16);
            this._txtMethod.Location     = new System.Drawing.Point(0, 64);
            this._txtMethod.Size         = new System.Drawing.Size(211, 20);
            this._txtArgument.Location   = new System.Drawing.Point(0, 64);
            this._txtArgument.Size       = new System.Drawing.Size(211, 20);
            this._pnlRight.Controls.AddRange(new System.Windows.Forms.Control[] { this._pnlCompare,
                                                                                  this._pnlDelegate,
                                                                                  this._glAttributes,
                                                                                  this._glType,
                                                                                  this._rbDelegate,
                                                                                  this._rbCompare });
            this._pnlRight.Location     = new System.Drawing.Point(215, 0);
            this._pnlRight.Size         = new System.Drawing.Size(219, 226);
            this._lblMethod.Location    = new System.Drawing.Point(0, 48);
            this._lblMethod.Size        = new System.Drawing.Size(211, 16);
            this._glAttributes.Location = new System.Drawing.Point(0, 73);
            this._glAttributes.Size     = new System.Drawing.Size(216, 16);
            this._rbDelegate.Location   = new System.Drawing.Point(8, 46);
            this._rbDelegate.Size       = new System.Drawing.Size(211, 17);
            this._glType.Size           = new System.Drawing.Size(216, 16);
            this._pnlCompare.Controls.AddRange(new System.Windows.Forms.Control[] { this._txtArgument,
                                                                                    this._lblArgument,
                                                                                    this._cbCompare,
                                                                                    this._lblCompare });
            this._pnlCompare.Location     = new System.Drawing.Point(8, 90);
            this._pnlCompare.Size         = new System.Drawing.Size(211, 136);
            this._cbCompare.DropDownWidth = 211;
            this._cbCompare.Location      = new System.Drawing.Point(0, 20);
            this._cbCompare.Size          = new System.Drawing.Size(211, 21);
            this._cbCompare.Sorted        = true;
            this._lblArgument.Location    = new System.Drawing.Point(0, 48);
            this._lblArgument.Size        = new System.Drawing.Size(211, 16);
            this._pnlDelegate.Controls.AddRange(new System.Windows.Forms.Control[] { this._txtType,
                                                                                     this._txtMethod,
                                                                                     this._lblMethod,
                                                                                     this._lblType });
            this._pnlDelegate.Location = new System.Drawing.Point(8, 90);
            this._pnlDelegate.Size     = new System.Drawing.Size(211, 136);
            this.FormBorderStyle       = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.ClientSize            = new System.Drawing.Size(448, 289);
            this.AcceptButton          = _dialogButtons.CmdOK;
            this.CancelButton          = _dialogButtons.CmdCancel;
            this.Controls.AddRange(new System.Windows.Forms.Control[] { this._pnlHeader, this._pnlMain });
        }
Esempio n. 4
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form dlgLogin = new Form();

            dlgLogin.Height = 210;
            dlgLogin.Width  = 292;
            //dlgLogin.AutoScaleMode = ;

            #region layout
            TextBox textBox1 = new System.Windows.Forms.TextBox();
            TextBox textBox2 = new System.Windows.Forms.TextBox();
            Label   label1   = new System.Windows.Forms.Label();
            Label   label2   = new System.Windows.Forms.Label();
            Button  button1  = new System.Windows.Forms.Button();
            Button  button2  = new System.Windows.Forms.Button();


            textBox1.Location = new System.Drawing.Point(140, 30);
            textBox1.Name     = "tbxName";
            textBox1.Size     = new System.Drawing.Size(118, 22);
            //tbxName.TabIndex = 0;

            label1.AutoSize = true;
            label1.Location = new System.Drawing.Point(10, 32);
            label1.Name     = "label1";
            label1.Size     = new System.Drawing.Size(130, 17);
            //label1.TabIndex = 2;
            label1.Text = "Nazwa użytkownika";

            textBox2.Location = new System.Drawing.Point(140, 70);
            textBox2.Name     = "tbxPassword";
            textBox2.Size     = new System.Drawing.Size(118, 22);
            textBox2.UseSystemPasswordChar = true;

            label2.AutoSize = true;
            label2.Location = new System.Drawing.Point(93, 72);
            label2.Name     = "label2";
            label2.Size     = new System.Drawing.Size(44, 17);
            //label2.TabIndex = 3;
            label2.Text = "Hasło";

            button1.Location = new System.Drawing.Point(21, 120);
            button1.Name     = "button1";
            button1.Size     = new System.Drawing.Size(104, 32);
            //button1.TabIndex = 4;
            button1.Text = "Zaloguj";
            button1.UseVisualStyleBackColor = true;
            button1.Click += new System.EventHandler(BtnZaloguj);

            button2.Location = new System.Drawing.Point(154, 120);
            button2.Name     = "button2";
            button2.Size     = new System.Drawing.Size(104, 32);
            //button2.TabIndex = 7;
            button2.Text = "Anuluj";
            button2.UseVisualStyleBackColor = true;
            button2.Click += new System.EventHandler(BtnCancel);

            dlgLogin.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            dlgLogin.Controls.Add(textBox1);
            dlgLogin.Controls.Add(textBox2);
            dlgLogin.Controls.Add(label1);
            dlgLogin.Controls.Add(label2);
            dlgLogin.Controls.Add(button1);
            dlgLogin.Controls.Add(button2);
            #endregion

            void BtnZaloguj(object sender2, EventArgs e2)
            {
                Sluchacz login = new Sluchacz(textBox1.Text, textBox2.Text);

                if (_ds.Sluchacze.Contains(login))
                {
                    Sluchacz uzytkownik = _ds.Sluchacze.Find(x => x.Login.Contains(login.Login));
                    dlgLogin.DialogResult = DialogResult.OK;
                    dlgLogin.Dispose();
                    this.Hide();
                    var mainMenu = new MainMenu(_ds, uzytkownik);
                    mainMenu.Closed += (s, args) => this.Show();
                    mainMenu.Show();
                }
                else
                {
                    string            message = "Nieprawidłowe dane logowania";
                    string            caption = "";
                    MessageBoxButtons buttons = MessageBoxButtons.OK;
                    DialogResult      result;

                    result = MessageBox.Show(message, caption, buttons);
                }
            }

            void BtnCancel(object sender2, EventArgs e2)
            {
                dlgLogin.Close();
            }

            dlgLogin.ShowDialog();
        }
Esempio n. 5
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form dlgRegister = new Form();

            dlgRegister.Height = 448;
            dlgRegister.Width  = 373;

            #region layout
            Label          label1         = new System.Windows.Forms.Label();
            Label          label2         = new System.Windows.Forms.Label();
            Label          label3         = new System.Windows.Forms.Label();
            Label          label4         = new System.Windows.Forms.Label();
            Label          label5         = new System.Windows.Forms.Label();
            Label          label6         = new System.Windows.Forms.Label();
            Label          label7         = new System.Windows.Forms.Label();
            Label          label8         = new System.Windows.Forms.Label();
            Label          label9         = new System.Windows.Forms.Label();
            Label          label10        = new System.Windows.Forms.Label();
            TextBox        tbxName        = new System.Windows.Forms.TextBox();
            TextBox        tbxSurname     = new System.Windows.Forms.TextBox();
            TextBox        tbxEMail       = new System.Windows.Forms.TextBox();
            DateTimePicker pckBirthDate   = new System.Windows.Forms.DateTimePicker();
            ComboBox       cbxSex         = new System.Windows.Forms.ComboBox();
            TextBox        tbxLogin       = new System.Windows.Forms.TextBox();
            TextBox        tbxPassword    = new System.Windows.Forms.TextBox();
            TextBox        tbxPhoneNumber = new System.Windows.Forms.TextBox();
            Button         button1        = new System.Windows.Forms.Button();
            Button         button2        = new System.Windows.Forms.Button();

            //
            // label1
            //
            label1.AutoSize = true;
            label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label1.Location = new System.Drawing.Point(40, 28);
            label1.Name     = "label1";
            label1.Size     = new System.Drawing.Size(276, 29);
            label1.TabIndex = 0;
            label1.Text     = "Wprowadź swoje dane";
            //
            // tbxName
            //
            tbxName.Location  = new System.Drawing.Point(45, 92);
            tbxName.MaxLength = 20;
            tbxName.Name      = "imie";
            tbxName.Size      = new System.Drawing.Size(120, 22);
            tbxName.TabIndex  = 1;
            //
            // tbxSurname
            //
            tbxSurname.Location  = new System.Drawing.Point(196, 92);
            tbxSurname.MaxLength = 25;
            tbxSurname.Name      = "nazwisko";
            tbxSurname.Size      = new System.Drawing.Size(120, 22);
            tbxSurname.TabIndex  = 2;
            //
            // tbxEMail
            //
            tbxEMail.Location  = new System.Drawing.Point(45, 151);
            tbxEMail.MaxLength = 100;
            tbxEMail.Name      = "email";
            tbxEMail.Size      = new System.Drawing.Size(152, 22);
            tbxEMail.TabIndex  = 3;
            //
            // pckBirthDate
            //
            pckBirthDate.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
            pckBirthDate.Location = new System.Drawing.Point(45, 211);
            pckBirthDate.Name     = "pckBirthDate";
            pckBirthDate.Size     = new System.Drawing.Size(185, 22);
            pckBirthDate.TabIndex = 5;
            //
            // cbxSex
            //
            cbxSex.FormattingEnabled = true;
            cbxSex.Items.AddRange(new object[] {
                "K",
                "M"
            });
            cbxSex.Location = new System.Drawing.Point(273, 211);
            cbxSex.Name     = "cbxSex";
            cbxSex.Size     = new System.Drawing.Size(43, 24);
            cbxSex.TabIndex = 6;
            //
            // tbxLogin
            //
            tbxLogin.Location  = new System.Drawing.Point(45, 271);
            tbxLogin.MaxLength = 20;
            tbxLogin.Name      = "login";
            tbxLogin.Size      = new System.Drawing.Size(120, 22);
            tbxLogin.TabIndex  = 7;
            //
            // tbxPassword
            //
            tbxPassword.Location              = new System.Drawing.Point(196, 271);
            tbxPassword.MaxLength             = 20;
            tbxPassword.Name                  = "haslo";
            tbxPassword.Size                  = new System.Drawing.Size(120, 22);
            tbxPassword.TabIndex              = 8;
            tbxPassword.UseSystemPasswordChar = true;
            //
            // tbxPhoneNumber
            //
            tbxPhoneNumber.Location  = new System.Drawing.Point(235, 151);
            tbxPhoneNumber.MaxLength = 9;
            tbxPhoneNumber.Name      = "NrTelefonu";
            tbxPhoneNumber.Size      = new System.Drawing.Size(81, 22);
            tbxPhoneNumber.TabIndex  = 4;
            tbxPhoneNumber.WordWrap  = false;
            //
            // label2
            //
            label2.AutoSize = true;
            label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label2.Location = new System.Drawing.Point(52, 76);
            label2.Name     = "label2";
            label2.Size     = new System.Drawing.Size(26, 13);
            label2.TabIndex = 9;
            label2.Text     = "Imię";
            //
            // label3
            //
            label3.AutoSize = true;
            label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label3.Location = new System.Drawing.Point(204, 76);
            label3.Name     = "label3";
            label3.Size     = new System.Drawing.Size(51, 13);
            label3.TabIndex = 10;
            label3.Text     = "Nazwisko";
            //
            // label4
            //
            label4.AutoSize = true;
            label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label4.Location = new System.Drawing.Point(52, 135);
            label4.Name     = "label4";
            label4.Size     = new System.Drawing.Size(64, 13);
            label4.TabIndex = 11;
            label4.Text     = "Adres e-mail";
            //
            // label5
            //
            label5.AutoSize = true;
            label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label5.Location = new System.Drawing.Point(217, 135);
            label5.Name     = "label5";
            label5.Size     = new System.Drawing.Size(58, 13);
            label5.TabIndex = 12;
            label5.Text     = "Nr telefonu";
            //
            // label6
            //
            label6.AutoSize  = true;
            label6.BackColor = System.Drawing.Color.Transparent;
            label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label6.Location  = new System.Drawing.Point(203, 154);
            label6.Name      = "label6";
            label6.Size      = new System.Drawing.Size(32, 17);
            label6.TabIndex  = 13;
            label6.Text      = "+48";
            //
            // label7
            //
            label7.AutoSize = true;
            label7.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label7.Location = new System.Drawing.Point(279, 195);
            label7.Name     = "label7";
            label7.Size     = new System.Drawing.Size(27, 13);
            label7.TabIndex = 14;
            label7.Text     = "Płeć";
            //
            // label8
            //
            label8.AutoSize = true;
            label8.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label8.Location = new System.Drawing.Point(52, 195);
            label8.Name     = "label8";
            label8.Size     = new System.Drawing.Size(79, 13);
            label8.TabIndex = 15;
            label8.Text     = "Data urodzenia";
            //
            // label9
            //
            label9.AutoSize = true;
            label9.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label9.Location = new System.Drawing.Point(52, 255);
            label9.Name     = "label9";
            label9.Size     = new System.Drawing.Size(99, 13);
            label9.TabIndex = 16;
            label9.Text     = "Nazwa użytkownika";
            //
            // label10
            //
            label10.AutoSize = true;
            label10.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            label10.Location = new System.Drawing.Point(204, 255);
            label10.Name     = "label10";
            label10.Size     = new System.Drawing.Size(33, 13);
            label10.TabIndex = 17;
            label10.Text     = "Hasło";
            //
            // button1
            //
            button1.Location = new System.Drawing.Point(45, 333);
            button1.Name     = "button1";
            button1.Size     = new System.Drawing.Size(120, 38);
            button1.TabIndex = 18;
            button1.Text     = "Zarejestruj";
            button1.UseVisualStyleBackColor = true;
            button1.Click += new System.EventHandler(BtnRegister);
            //
            // button2
            //
            button2.Location = new System.Drawing.Point(196, 333);
            button2.Name     = "button2";
            button2.Size     = new System.Drawing.Size(120, 38);
            button2.TabIndex = 19;
            button2.Text     = "Anuluj";
            button2.UseVisualStyleBackColor = true;
            button2.Click += new System.EventHandler(BtnCancel);
            //
            //
            //
            dlgRegister.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
            dlgRegister.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
            dlgRegister.ClientSize          = new System.Drawing.Size(355, 401);
            dlgRegister.Controls.Add(button2);
            dlgRegister.Controls.Add(button1);
            dlgRegister.Controls.Add(label10);
            dlgRegister.Controls.Add(label9);
            dlgRegister.Controls.Add(label8);
            dlgRegister.Controls.Add(label7);
            dlgRegister.Controls.Add(label6);
            dlgRegister.Controls.Add(label5);
            dlgRegister.Controls.Add(label4);
            dlgRegister.Controls.Add(label3);
            dlgRegister.Controls.Add(label2);
            dlgRegister.Controls.Add(tbxPhoneNumber);
            dlgRegister.Controls.Add(tbxPassword);
            dlgRegister.Controls.Add(tbxLogin);
            dlgRegister.Controls.Add(cbxSex);
            dlgRegister.Controls.Add(pckBirthDate);
            dlgRegister.Controls.Add(tbxEMail);
            dlgRegister.Controls.Add(tbxSurname);
            dlgRegister.Controls.Add(tbxName);
            dlgRegister.Controls.Add(label1);
            dlgRegister.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            dlgRegister.Name            = "Rejestracja";
            dlgRegister.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
            dlgRegister.Text            = "Rejestracja";
            dlgRegister.ResumeLayout(false);
            dlgRegister.PerformLayout();
            #endregion

            void BtnRegister(object sender2, EventArgs e2)
            {
                int      atCount       = 0;
                int      dotCount      = 0;
                Sluchacz user          = new Sluchacz();
                Sluchacz potentialUser = new Sluchacz(tbxLogin.Text, tbxPassword.Text);

                foreach (char character in tbxEMail.Text)
                {
                    if (character.Equals('@'))
                    {
                        atCount++;
                    }
                    if (character.Equals('.'))
                    {
                        dotCount++;
                    }
                }
                if (String.IsNullOrWhiteSpace(tbxLogin.Text) || String.IsNullOrWhiteSpace(tbxName.Text) || String.IsNullOrWhiteSpace(tbxSurname.Text) || String.IsNullOrWhiteSpace(tbxPassword.Text) ||
                    String.IsNullOrWhiteSpace(tbxPhoneNumber.Text) || String.IsNullOrWhiteSpace(tbxEMail.Text) || String.IsNullOrWhiteSpace(cbxSex.Text) || String.IsNullOrWhiteSpace(pckBirthDate.Text))
                {
                    string            message2 = "Nie wszystkie pola zostały wypełnione.";
                    string            caption2 = "";
                    MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                    DialogResult      result2;
                    result2 = MessageBox.Show(message2, caption2, buttons2);
                }
                else if (_ds.Sluchacze.Contains(potentialUser))
                {
                    string            message2 = "Nazwa użytkownika jest już zajęta.";
                    string            caption2 = "";
                    MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                    DialogResult      result2;
                    result2 = MessageBox.Show(message2, caption2, buttons2);
                }
                else if (!tbxPhoneNumber.Text.All(char.IsDigit) || (tbxPhoneNumber.Text.Length < 9))
                {
                    string            message2 = "Czyż nie jest powszechną wiedzą, że numer telefonu w Polsce składa się z dziewięciu cyfr?";
                    string            caption2 = "";
                    MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                    DialogResult      result2;
                    result2 = MessageBox.Show(message2, caption2, buttons2);
                }
                else if (atCount != 1 || dotCount == 0 || tbxEMail.Text.EndsWith(".") || tbxEMail.Text.EndsWith("@"))
                {
                    string            message2 = "Niepoprawny email.";
                    string            caption2 = "";
                    MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                    DialogResult      result2;
                    result2 = MessageBox.Show(message2, caption2, buttons2);
                }
                else if ((pckBirthDate.Value.Year + 13) > DateTime.Today.Year && pckBirthDate.Value.Year < DateTime.Today.Year)
                {
                    string            message2 = "Aby założyć konto musisz mieć więcej niż 13 lat.";
                    string            caption2 = "";
                    MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                    DialogResult      result2;
                    result2 = MessageBox.Show(message2, caption2, buttons2);
                }
                else if ((pckBirthDate.Value.Year + 13) == DateTime.Today.Year)
                {
                    if ((pckBirthDate.Value.Month) >= DateTime.Today.Month)
                    {
                        if ((pckBirthDate.Value.Day) > DateTime.Today.Day)
                        {
                            string            message2 = "Aby założyć konto musisz mieć więcej niż 13 lat.";
                            string            caption2 = "";
                            MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                            DialogResult      result2;
                            result2 = MessageBox.Show(message2, caption2, buttons2);
                        }
                        else
                        {
                            user = new Sluchacz(tbxLogin.Text, tbxPassword.Text, tbxName.Text, tbxSurname.Text, cbxSex.Text, pckBirthDate.Value.ToShortDateString(), tbxPhoneNumber.Text, tbxEMail.Text);
                            _ds.Sluchacze.Add(user);
                            _ds.DataStore_save(_ds);

                            string            message = "Zostałeś zarejestrowany!";
                            string            caption = "";
                            MessageBoxButtons buttons = MessageBoxButtons.OK;
                            DialogResult      result;

                            result = MessageBox.Show(message, caption, buttons);
                            dlgRegister.Close();
                        }
                    }
                    else
                    {
                        user = new Sluchacz(tbxLogin.Text, tbxPassword.Text, tbxName.Text, tbxSurname.Text, cbxSex.Text, pckBirthDate.Value.ToShortDateString(), tbxPhoneNumber.Text, tbxEMail.Text);
                        _ds.Sluchacze.Add(user);
                        _ds.DataStore_save(_ds);

                        string            message = "Zostałeś zarejestrowany!";
                        string            caption = "";
                        MessageBoxButtons buttons = MessageBoxButtons.OK;
                        DialogResult      result;

                        result = MessageBox.Show(message, caption, buttons);
                        dlgRegister.Close();
                    }
                }
                else if ((pckBirthDate.Value.Year) == DateTime.Today.Year)
                {
                    if ((pckBirthDate.Value.Month) >= DateTime.Today.Month)
                    {
                        if ((pckBirthDate.Value.Day) > DateTime.Today.Day)
                        {
                            string            message2 = "Przybysze z przyszłości nie mogą zakładać konta w naszym serwisie.";
                            string            caption2 = "";
                            MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                            DialogResult      result2;
                            result2 = MessageBox.Show(message2, caption2, buttons2);
                        }
                        else
                        {
                            string            message2 = "Aby założyć konto musisz mieć więcej niż 13 lat.";
                            string            caption2 = "";
                            MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                            DialogResult      result2;
                            result2 = MessageBox.Show(message2, caption2, buttons2);
                        }
                    }
                    else
                    {
                        string            message2 = "Aby założyć konto musisz mieć więcej niż 13 lat.";
                        string            caption2 = "";
                        MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                        DialogResult      result2;
                        result2 = MessageBox.Show(message2, caption2, buttons2);
                    }
                }
                else if (pckBirthDate.Value.Year > DateTime.Today.Year)
                {
                    string            message2 = "Przybysze z przyszłości nie mogą zakładać konta w naszym serwisie.";
                    string            caption2 = "";
                    MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                    DialogResult      result2;
                    result2 = MessageBox.Show(message2, caption2, buttons2);
                }
                else if ((pckBirthDate.Value.Year + 118) <= DateTime.Today.Year)
                {
                    string            message2 = "https://www.medonet.pl/zdrowie/zdrowie-dla-kazdego,najstarszy-czlowiek-swiata--poznaj-sekrety-i-historie-dlugowiecznosci,artykul,14294014.html";
                    string            caption2 = "";
                    MessageBoxButtons buttons2 = MessageBoxButtons.OK;
                    DialogResult      result2;
                    result2 = MessageBox.Show(message2, caption2, buttons2);
                }
                else
                {
                    user = new Sluchacz(tbxLogin.Text, tbxPassword.Text, tbxName.Text, tbxSurname.Text, cbxSex.Text, pckBirthDate.Value.ToShortDateString(), tbxPhoneNumber.Text, tbxEMail.Text);
                    _ds.Sluchacze.Add(user);
                    _ds.DataStore_save(_ds);

                    string            message = "Zostałeś zarejestrowany!";
                    string            caption = "";
                    MessageBoxButtons buttons = MessageBoxButtons.OK;
                    DialogResult      result;

                    result = MessageBox.Show(message, caption, buttons);
                    dlgRegister.Close();
                }
            }

            void BtnCancel(object sender2, EventArgs e2)
            {
                dlgRegister.Close();
            }

            dlgRegister.ShowDialog();
        }
Esempio n. 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEmployee));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.pnProfile = new System.Windows.Forms.Panel();
     this.tabEmployeeProfile = new System.Windows.Forms.TabControl();
     this.tpGeneralInfo = new System.Windows.Forms.TabPage();
     this.grbProfessional = new System.Windows.Forms.GroupBox();
     this.cboInformaticLevel = new System.Windows.Forms.LookupComboBox();
     this.cboEnglishLevel = new System.Windows.Forms.LookupComboBox();
     this.cboQualification = new System.Windows.Forms.LookupComboBox();
     this.cboProfessionalLevel = new System.Windows.Forms.LookupComboBox();
     this.lblQualification = new System.Windows.Forms.Label();
     this.lblNganhHoc = new System.Windows.Forms.Label();
     this.txtDiscipline = new System.Windows.Forms.TextBox();
     this.lblInformaticLevel = new System.Windows.Forms.Label();
     this.lblProfessionalLevel = new System.Windows.Forms.Label();
     this.lblEnglishLevel = new System.Windows.Forms.Label();
     this.txtOtherCertificate = new System.Windows.Forms.TextBox();
     this.lblOtherCertificate = new System.Windows.Forms.Label();
     this.grbEmployeeProfile = new System.Windows.Forms.GroupBox();
     this.txtTemAddress = new System.Windows.Forms.TextBox();
     this.label19 = new System.Windows.Forms.Label();
     this.txtNoiCapCMND = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.txtFamilyConditionNumber = new System.Windows.Forms.TextBox();
     this.label15 = new System.Windows.Forms.Label();
     this.txtTaxID = new System.Windows.Forms.TextBox();
     this.label14 = new System.Windows.Forms.Label();
     this.cboInsuranceShelf = new System.Windows.Forms.CheckBox();
     this.lblBarCode = new System.Windows.Forms.Label();
     this.cboNationality = new System.Windows.Forms.ComboBox();
     this.txtBarcode = new System.Windows.Forms.TextBox();
     this.txtInsurenceID = new System.Windows.Forms.TextBox();
     this.txtIdentityCard = new System.Windows.Forms.TextBox();
     this.dtpStartDateInsurance = new System.Windows.Forms.DateTimePicker();
     this.label6 = new System.Windows.Forms.Label();
     this.lblNationality = new System.Windows.Forms.Label();
     this.txtProvince = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.txtCommune = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.txtDistrict = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.cboReligious = new System.Windows.Forms.LookupComboBox();
     this.cboPeople = new System.Windows.Forms.LookupComboBox();
     this.cboMarriageStatus = new System.Windows.Forms.LookupComboBox();
     this.cboGender = new System.Windows.Forms.LookupComboBox();
     this.lblIdentityCard = new System.Windows.Forms.Label();
     this.lblInsuranceID = new System.Windows.Forms.Label();
     this.dtpIssue = new System.Windows.Forms.DateTimePicker();
     this.lblIssue = new System.Windows.Forms.Label();
     this.lblReligious = new System.Windows.Forms.Label();
     this.lblPeople = new System.Windows.Forms.Label();
     this.dtpDateOfBirth = new System.Windows.Forms.DateTimePicker();
     this.txtPhone = new AMS.TextBox.NumericTextBox();
     this.lblMarriageStatus = new System.Windows.Forms.Label();
     this.txtResident = new System.Windows.Forms.TextBox();
     this.lblResident = new System.Windows.Forms.Label();
     this.lblBirthPlace = new System.Windows.Forms.Label();
     this.txtBirthPlace = new System.Windows.Forms.TextBox();
     this.txtEmail = new System.Windows.Forms.TextBox();
     this.lblEmail = new System.Windows.Forms.Label();
     this.btnChoosePic = new System.Windows.Forms.Button();
     this.picEmployee = new System.Windows.Forms.PictureBox();
     this.txtCardID = new System.Windows.Forms.TextBox();
     this.lblCardID = new System.Windows.Forms.Label();
     this.txtAddress = new System.Windows.Forms.TextBox();
     this.txtEmployeeName = new System.Windows.Forms.TextBox();
     this.lblPhone = new System.Windows.Forms.Label();
     this.lblAddress = new System.Windows.Forms.Label();
     this.lblGender = new System.Windows.Forms.Label();
     this.lblBirthday = new System.Windows.Forms.Label();
     this.lblEmployeeName = new System.Windows.Forms.Label();
     this.tpSalary = new System.Windows.Forms.TabPage();
     this.grbAllowance = new System.Windows.Forms.GroupBox();
     this.chk_PCDL_CoDinhThang = new System.Windows.Forms.CheckBox();
     this.txtTaskAllowance = new AMS.TextBox.CurrencyTextBox();
     this.label17 = new System.Windows.Forms.Label();
     this.txtJapaneseAllowance = new AMS.TextBox.CurrencyTextBox();
     this.label16 = new System.Windows.Forms.Label();
     this.txtIntimateAllowance = new AMS.TextBox.CurrencyTextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.lblHarmfulAllowance = new System.Windows.Forms.Label();
     this.txtPositionAllowance = new AMS.TextBox.CurrencyTextBox();
     this.lblLunchAllowance = new System.Windows.Forms.Label();
     this.txtLunchAllowance = new AMS.TextBox.CurrencyTextBox();
     this.lblResponsibleAllowance = new System.Windows.Forms.Label();
     this.txtJobAllowance = new AMS.TextBox.CurrencyTextBox();
     this.grbBasicSalary = new System.Windows.Forms.GroupBox();
     this.lblSalaryChangedDay = new System.Windows.Forms.Label();
     this.txtSalaryDN = new System.Windows.Forms.TextBox();
     this.txtSalaryNote = new System.Windows.Forms.TextBox();
     this.lblSalaryNote = new System.Windows.Forms.Label();
     this.lblSalaryDN = new System.Windows.Forms.Label();
     this.txtBasicSalary = new AMS.TextBox.CurrencyTextBox();
     this.lblBasicSalary = new System.Windows.Forms.Label();
     this.btnChangeSalary = new System.Windows.Forms.Button();
     this.lvwSalaryHistory = new XPTable.Models.Table();
     this.cmSalary = new XPTable.Models.ColumnModel();
     this.cSTT = new XPTable.Models.TextColumn();
     this.cBasicSalary = new XPTable.Models.TextColumn();
     this.cModifiedDate = new XPTable.Models.TextColumn();
     this.cDecisionNumber = new XPTable.Models.TextColumn();
     this.cNote = new XPTable.Models.TextColumn();
     this.ctxSalary = new System.Windows.Forms.ContextMenu();
     this.mnuEditSalaryHistory = new System.Windows.Forms.MenuItem();
     this.mnuDeleteSalaryHistory = new System.Windows.Forms.MenuItem();
     this.tmSalary = new XPTable.Models.TableModel();
     this.dtpSalaryChangedDay = new System.Windows.Forms.DateTimePicker();
     this.grbHiringInfo = new System.Windows.Forms.GroupBox();
     this.dtpStopWork = new System.Windows.Forms.DateTimePicker();
     this.chkStopWork = new System.Windows.Forms.CheckBox();
     this.label8 = new System.Windows.Forms.CheckBox();
     this.label5 = new System.Windows.Forms.CheckBox();
     this.mtgcComboFixSalary = new MTGCComboBox();
     this.label9 = new System.Windows.Forms.Label();
     this.cboContract = new MTGCComboBox();
     this.dtpStartTrial = new System.Windows.Forms.DateTimePicker();
     this.dtpStartDate = new System.Windows.Forms.DateTimePicker();
     this.dtpRecruitDate = new System.Windows.Forms.DateTimePicker();
     this.lblRecruitDate = new System.Windows.Forms.Label();
     this.lblContract = new System.Windows.Forms.Label();
     this.tpDepartment = new System.Windows.Forms.TabPage();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.dtpChangePosition = new System.Windows.Forms.DateTimePicker();
     this.label11 = new System.Windows.Forms.Label();
     this.lvwPositionHistory = new XPTable.Models.Table();
     this.cmPosition = new XPTable.Models.ColumnModel();
     this.cPositionName = new XPTable.Models.TextColumn();
     this.ctxPosition = new System.Windows.Forms.ContextMenu();
     this.mnuEditPositionHistory = new System.Windows.Forms.MenuItem();
     this.mnuDeletePositionHistory = new System.Windows.Forms.MenuItem();
     this.tmPosition = new XPTable.Models.TableModel();
     this.btnChangePosition = new System.Windows.Forms.Button();
     this.cboPosition = new MTGCComboBox();
     this.txtPositionNote = new System.Windows.Forms.TextBox();
     this.lblPositionNote = new System.Windows.Forms.Label();
     this.lblPositionDN = new System.Windows.Forms.Label();
     this.lblPositionName = new System.Windows.Forms.Label();
     this.txtPositionDN = new System.Windows.Forms.TextBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.dtpDepartment = new System.Windows.Forms.DateTimePicker();
     this.label12 = new System.Windows.Forms.Label();
     this.txtDepartmentDN = new System.Windows.Forms.TextBox();
     this.btnChangeDepartment = new System.Windows.Forms.Button();
     this.cboDepartment = new MTGCComboBox();
     this.txtDepartmentNote = new System.Windows.Forms.TextBox();
     this.lblDepartmentNote = new System.Windows.Forms.Label();
     this.lblDepartmentDN = new System.Windows.Forms.Label();
     this.lblDepartmentName = new System.Windows.Forms.Label();
     this.lvwDepartmentHistory = new XPTable.Models.Table();
     this.cmDepartment = new XPTable.Models.ColumnModel();
     this.chSTT = new XPTable.Models.TextColumn();
     this.chDepartmentName = new XPTable.Models.TextColumn();
     this.chModifiedDate = new XPTable.Models.TextColumn();
     this.chDecisionNumber = new XPTable.Models.TextColumn();
     this.chNote = new XPTable.Models.TextColumn();
     this.ctxDepartment = new System.Windows.Forms.ContextMenu();
     this.mnuEditDepartmentHistory = new System.Windows.Forms.MenuItem();
     this.mnuDeleteDepartmentHistory = new System.Windows.Forms.MenuItem();
     this.tmDepartment = new XPTable.Models.TableModel();
     this.tpOtherInfo = new System.Windows.Forms.TabPage();
     this.dtpStopDate = new System.Windows.Forms.DateTimePicker();
     this.label10 = new System.Windows.Forms.Label();
     this.cbHospital = new MTGCComboBox();
     this.label7 = new System.Windows.Forms.Label();
     this.txtNote = new System.Windows.Forms.TextBox();
     this.btnClose = new System.Windows.Forms.Button();
     this.pnButtons = new System.Windows.Forms.Panel();
     this.btnCancel = new System.Windows.Forms.Button();
     this.txtRecordNum = new System.Windows.Forms.TextBox();
     this.btnLast = new System.Windows.Forms.Button();
     this.btnNext = new System.Windows.Forms.Button();
     this.btnPrevious = new System.Windows.Forms.Button();
     this.btnFirst = new System.Windows.Forms.Button();
     this.btnSave = new System.Windows.Forms.Button();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.pnProfile.SuspendLayout();
     this.tabEmployeeProfile.SuspendLayout();
     this.tpGeneralInfo.SuspendLayout();
     this.grbProfessional.SuspendLayout();
     this.grbEmployeeProfile.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.picEmployee)).BeginInit();
     this.tpSalary.SuspendLayout();
     this.grbAllowance.SuspendLayout();
     this.grbBasicSalary.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwSalaryHistory)).BeginInit();
     this.grbHiringInfo.SuspendLayout();
     this.tpDepartment.SuspendLayout();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwPositionHistory)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwDepartmentHistory)).BeginInit();
     this.tpOtherInfo.SuspendLayout();
     this.pnButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     //
     // pnProfile
     //
     this.pnProfile.Controls.Add(this.tabEmployeeProfile);
     this.pnProfile.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnProfile.Location = new System.Drawing.Point(0, 0);
     this.pnProfile.Name = "pnProfile";
     this.pnProfile.Size = new System.Drawing.Size(644, 576);
     this.pnProfile.TabIndex = 3;
     //
     // tabEmployeeProfile
     //
     this.tabEmployeeProfile.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.tabEmployeeProfile.Controls.Add(this.tpGeneralInfo);
     this.tabEmployeeProfile.Controls.Add(this.tpSalary);
     this.tabEmployeeProfile.Controls.Add(this.tpDepartment);
     this.tabEmployeeProfile.Controls.Add(this.tpOtherInfo);
     this.tabEmployeeProfile.Location = new System.Drawing.Point(0, 0);
     this.tabEmployeeProfile.Name = "tabEmployeeProfile";
     this.tabEmployeeProfile.SelectedIndex = 0;
     this.tabEmployeeProfile.Size = new System.Drawing.Size(644, 578);
     this.tabEmployeeProfile.TabIndex = 0;
     //
     // tpGeneralInfo
     //
     this.tpGeneralInfo.Controls.Add(this.grbProfessional);
     this.tpGeneralInfo.Controls.Add(this.grbEmployeeProfile);
     this.tpGeneralInfo.Location = new System.Drawing.Point(4, 22);
     this.tpGeneralInfo.Name = "tpGeneralInfo";
     this.tpGeneralInfo.Size = new System.Drawing.Size(636, 552);
     this.tpGeneralInfo.TabIndex = 0;
     this.tpGeneralInfo.Text = "Thông tin chung";
     //
     // grbProfessional
     //
     this.grbProfessional.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.grbProfessional.Controls.Add(this.cboInformaticLevel);
     this.grbProfessional.Controls.Add(this.cboEnglishLevel);
     this.grbProfessional.Controls.Add(this.cboQualification);
     this.grbProfessional.Controls.Add(this.cboProfessionalLevel);
     this.grbProfessional.Controls.Add(this.lblQualification);
     this.grbProfessional.Controls.Add(this.lblNganhHoc);
     this.grbProfessional.Controls.Add(this.txtDiscipline);
     this.grbProfessional.Controls.Add(this.lblInformaticLevel);
     this.grbProfessional.Controls.Add(this.lblProfessionalLevel);
     this.grbProfessional.Controls.Add(this.lblEnglishLevel);
     this.grbProfessional.Controls.Add(this.txtOtherCertificate);
     this.grbProfessional.Controls.Add(this.lblOtherCertificate);
     this.grbProfessional.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grbProfessional.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.grbProfessional.Location = new System.Drawing.Point(5, 476);
     this.grbProfessional.Name = "grbProfessional";
     this.grbProfessional.Size = new System.Drawing.Size(628, 72);
     this.grbProfessional.TabIndex = 9;
     this.grbProfessional.TabStop = false;
     this.grbProfessional.Text = "Học vấn";
     //
     // cboInformaticLevel
     //
     this.cboInformaticLevel.AllowTypeAllSymbols = false;
     this.cboInformaticLevel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboInformaticLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboInformaticLevel.ItemHeight = 13;
     this.cboInformaticLevel.Items.AddRange(new object[] {
     "Chưa biết",
     "Cơ bản",
     "Thành thạo"});
     this.cboInformaticLevel.Location = new System.Drawing.Point(540, 40);
     this.cboInformaticLevel.Name = "cboInformaticLevel";
     this.cboInformaticLevel.Size = new System.Drawing.Size(88, 21);
     this.cboInformaticLevel.TabIndex = 5;
     //
     // cboEnglishLevel
     //
     this.cboEnglishLevel.AllowTypeAllSymbols = false;
     this.cboEnglishLevel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboEnglishLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboEnglishLevel.ItemHeight = 13;
     this.cboEnglishLevel.Items.AddRange(new object[] {
     "Tiếng Anh",
     "Tiếng Nhật",
     "Tiếng Trung"});
     this.cboEnglishLevel.Location = new System.Drawing.Point(540, 16);
     this.cboEnglishLevel.Name = "cboEnglishLevel";
     this.cboEnglishLevel.Size = new System.Drawing.Size(88, 21);
     this.cboEnglishLevel.TabIndex = 2;
     //
     // cboQualification
     //
     this.cboQualification.AllowTypeAllSymbols = false;
     this.cboQualification.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboQualification.ItemHeight = 13;
     this.cboQualification.Items.AddRange(new object[] {
     "Không có",
     "Trung học cơ sở 9/12",
     "Tú tài (12/12)",
     "Trung cấp",
     "Cử nhân",
     "Kỹ sư",
     "Thạc sỹ",
     "Tiến sỹ"});
     this.cboQualification.Location = new System.Drawing.Point(312, 16);
     this.cboQualification.Name = "cboQualification";
     this.cboQualification.Size = new System.Drawing.Size(120, 21);
     this.cboQualification.TabIndex = 1;
     //
     // cboProfessionalLevel
     //
     this.cboProfessionalLevel.AllowTypeAllSymbols = false;
     this.cboProfessionalLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboProfessionalLevel.Items.AddRange(new object[] {
     "Phổ thông",
     "Trung cấp",
     "Cao đẳng",
     "Đại học",
     "Sau đại học"});
     this.cboProfessionalLevel.Location = new System.Drawing.Point(104, 16);
     this.cboProfessionalLevel.Name = "cboProfessionalLevel";
     this.cboProfessionalLevel.Size = new System.Drawing.Size(104, 21);
     this.cboProfessionalLevel.TabIndex = 0;
     //
     // lblQualification
     //
     this.lblQualification.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblQualification.Location = new System.Drawing.Point(216, 16);
     this.lblQualification.Name = "lblQualification";
     this.lblQualification.Size = new System.Drawing.Size(96, 24);
     this.lblQualification.TabIndex = 48;
     this.lblQualification.Text = "Bằng cấp";
     this.lblQualification.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblNganhHoc
     //
     this.lblNganhHoc.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblNganhHoc.Location = new System.Drawing.Point(8, 40);
     this.lblNganhHoc.Name = "lblNganhHoc";
     this.lblNganhHoc.Size = new System.Drawing.Size(90, 24);
     this.lblNganhHoc.TabIndex = 46;
     this.lblNganhHoc.Text = "Ngành học";
     this.lblNganhHoc.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtDiscipline
     //
     this.txtDiscipline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtDiscipline.Location = new System.Drawing.Point(104, 40);
     this.txtDiscipline.Name = "txtDiscipline";
     this.txtDiscipline.Size = new System.Drawing.Size(104, 20);
     this.txtDiscipline.TabIndex = 3;
     //
     // lblInformaticLevel
     //
     this.lblInformaticLevel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblInformaticLevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblInformaticLevel.Location = new System.Drawing.Point(484, 40);
     this.lblInformaticLevel.Name = "lblInformaticLevel";
     this.lblInformaticLevel.Size = new System.Drawing.Size(64, 24);
     this.lblInformaticLevel.TabIndex = 33;
     this.lblInformaticLevel.Text = "Tin học";
     this.lblInformaticLevel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblProfessionalLevel
     //
     this.lblProfessionalLevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblProfessionalLevel.Location = new System.Drawing.Point(8, 16);
     this.lblProfessionalLevel.Name = "lblProfessionalLevel";
     this.lblProfessionalLevel.Size = new System.Drawing.Size(90, 24);
     this.lblProfessionalLevel.TabIndex = 29;
     this.lblProfessionalLevel.Text = "Trình độ văn hóa";
     this.lblProfessionalLevel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblEnglishLevel
     //
     this.lblEnglishLevel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblEnglishLevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblEnglishLevel.Location = new System.Drawing.Point(484, 16);
     this.lblEnglishLevel.Name = "lblEnglishLevel";
     this.lblEnglishLevel.Size = new System.Drawing.Size(64, 24);
     this.lblEnglishLevel.TabIndex = 31;
     this.lblEnglishLevel.Text = "Ngoại ngữ";
     this.lblEnglishLevel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtOtherCertificate
     //
     this.txtOtherCertificate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtOtherCertificate.Location = new System.Drawing.Point(312, 40);
     this.txtOtherCertificate.Name = "txtOtherCertificate";
     this.txtOtherCertificate.Size = new System.Drawing.Size(120, 20);
     this.txtOtherCertificate.TabIndex = 4;
     //
     // lblOtherCertificate
     //
     this.lblOtherCertificate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblOtherCertificate.Location = new System.Drawing.Point(216, 40);
     this.lblOtherCertificate.Name = "lblOtherCertificate";
     this.lblOtherCertificate.Size = new System.Drawing.Size(96, 24);
     this.lblOtherCertificate.TabIndex = 42;
     this.lblOtherCertificate.Text = "Chứng chỉ khác";
     this.lblOtherCertificate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // grbEmployeeProfile
     //
     this.grbEmployeeProfile.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.grbEmployeeProfile.Controls.Add(this.txtTemAddress);
     this.grbEmployeeProfile.Controls.Add(this.label19);
     this.grbEmployeeProfile.Controls.Add(this.txtNoiCapCMND);
     this.grbEmployeeProfile.Controls.Add(this.label18);
     this.grbEmployeeProfile.Controls.Add(this.txtFamilyConditionNumber);
     this.grbEmployeeProfile.Controls.Add(this.label15);
     this.grbEmployeeProfile.Controls.Add(this.txtTaxID);
     this.grbEmployeeProfile.Controls.Add(this.label14);
     this.grbEmployeeProfile.Controls.Add(this.cboInsuranceShelf);
     this.grbEmployeeProfile.Controls.Add(this.lblBarCode);
     this.grbEmployeeProfile.Controls.Add(this.cboNationality);
     this.grbEmployeeProfile.Controls.Add(this.txtBarcode);
     this.grbEmployeeProfile.Controls.Add(this.txtInsurenceID);
     this.grbEmployeeProfile.Controls.Add(this.txtIdentityCard);
     this.grbEmployeeProfile.Controls.Add(this.dtpStartDateInsurance);
     this.grbEmployeeProfile.Controls.Add(this.label6);
     this.grbEmployeeProfile.Controls.Add(this.lblNationality);
     this.grbEmployeeProfile.Controls.Add(this.txtProvince);
     this.grbEmployeeProfile.Controls.Add(this.label4);
     this.grbEmployeeProfile.Controls.Add(this.txtCommune);
     this.grbEmployeeProfile.Controls.Add(this.label3);
     this.grbEmployeeProfile.Controls.Add(this.txtDistrict);
     this.grbEmployeeProfile.Controls.Add(this.label2);
     this.grbEmployeeProfile.Controls.Add(this.cboReligious);
     this.grbEmployeeProfile.Controls.Add(this.cboPeople);
     this.grbEmployeeProfile.Controls.Add(this.cboMarriageStatus);
     this.grbEmployeeProfile.Controls.Add(this.cboGender);
     this.grbEmployeeProfile.Controls.Add(this.lblIdentityCard);
     this.grbEmployeeProfile.Controls.Add(this.lblInsuranceID);
     this.grbEmployeeProfile.Controls.Add(this.dtpIssue);
     this.grbEmployeeProfile.Controls.Add(this.lblIssue);
     this.grbEmployeeProfile.Controls.Add(this.lblReligious);
     this.grbEmployeeProfile.Controls.Add(this.lblPeople);
     this.grbEmployeeProfile.Controls.Add(this.dtpDateOfBirth);
     this.grbEmployeeProfile.Controls.Add(this.txtPhone);
     this.grbEmployeeProfile.Controls.Add(this.lblMarriageStatus);
     this.grbEmployeeProfile.Controls.Add(this.txtResident);
     this.grbEmployeeProfile.Controls.Add(this.lblResident);
     this.grbEmployeeProfile.Controls.Add(this.lblBirthPlace);
     this.grbEmployeeProfile.Controls.Add(this.txtBirthPlace);
     this.grbEmployeeProfile.Controls.Add(this.txtEmail);
     this.grbEmployeeProfile.Controls.Add(this.lblEmail);
     this.grbEmployeeProfile.Controls.Add(this.btnChoosePic);
     this.grbEmployeeProfile.Controls.Add(this.picEmployee);
     this.grbEmployeeProfile.Controls.Add(this.txtCardID);
     this.grbEmployeeProfile.Controls.Add(this.lblCardID);
     this.grbEmployeeProfile.Controls.Add(this.txtAddress);
     this.grbEmployeeProfile.Controls.Add(this.txtEmployeeName);
     this.grbEmployeeProfile.Controls.Add(this.lblPhone);
     this.grbEmployeeProfile.Controls.Add(this.lblAddress);
     this.grbEmployeeProfile.Controls.Add(this.lblGender);
     this.grbEmployeeProfile.Controls.Add(this.lblBirthday);
     this.grbEmployeeProfile.Controls.Add(this.lblEmployeeName);
     this.grbEmployeeProfile.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grbEmployeeProfile.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.grbEmployeeProfile.Location = new System.Drawing.Point(8, 8);
     this.grbEmployeeProfile.Name = "grbEmployeeProfile";
     this.grbEmployeeProfile.Size = new System.Drawing.Size(620, 462);
     this.grbEmployeeProfile.TabIndex = 0;
     this.grbEmployeeProfile.TabStop = false;
     this.grbEmployeeProfile.Text = "Thông tin chung";
     //
     // txtTemAddress
     //
     this.txtTemAddress.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtTemAddress.Location = new System.Drawing.Point(104, 188);
     this.txtTemAddress.Name = "txtTemAddress";
     this.txtTemAddress.Size = new System.Drawing.Size(328, 20);
     this.txtTemAddress.TabIndex = 7;
     //
     // label19
     //
     this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label19.Location = new System.Drawing.Point(8, 183);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(90, 24);
     this.label19.TabIndex = 93;
     this.label19.Text = "Địa chỉ tạm trú";
     this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtNoiCapCMND
     //
     this.txtNoiCapCMND.Location = new System.Drawing.Point(462, 324);
     this.txtNoiCapCMND.Multiline = true;
     this.txtNoiCapCMND.Name = "txtNoiCapCMND";
     this.txtNoiCapCMND.Size = new System.Drawing.Size(152, 20);
     this.txtNoiCapCMND.TabIndex = 18;
     //
     // label18
     //
     this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label18.Location = new System.Drawing.Point(417, 320);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(48, 24);
     this.label18.TabIndex = 92;
     this.label18.Text = "Nơi cấp";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtFamilyConditionNumber
     //
     this.txtFamilyConditionNumber.Location = new System.Drawing.Point(328, 425);
     this.txtFamilyConditionNumber.Name = "txtFamilyConditionNumber";
     this.txtFamilyConditionNumber.Size = new System.Drawing.Size(92, 20);
     this.txtFamilyConditionNumber.TabIndex = 25;
     this.txtFamilyConditionNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.KeyPressInteger);
     //
     // label15
     //
     this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label15.Location = new System.Drawing.Point(238, 421);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(96, 24);
     this.label15.TabIndex = 91;
     this.label15.Text = "Số người GTGC";
     this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtTaxID
     //
     this.txtTaxID.Location = new System.Drawing.Point(104, 425);
     this.txtTaxID.Name = "txtTaxID";
     this.txtTaxID.Size = new System.Drawing.Size(120, 20);
     this.txtTaxID.TabIndex = 24;
     this.txtTaxID.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.KeyPressInteger);
     //
     // label14
     //
     this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label14.Location = new System.Drawing.Point(10, 421);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(96, 24);
     this.label14.TabIndex = 89;
     this.label14.Text = "Mã số thuế";
     this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cboInsuranceShelf
     //
     this.cboInsuranceShelf.Location = new System.Drawing.Point(440, 387);
     this.cboInsuranceShelf.Name = "cboInsuranceShelf";
     this.cboInsuranceShelf.Size = new System.Drawing.Size(112, 24);
     this.cboInsuranceShelf.TabIndex = 23;
     this.cboInsuranceShelf.Text = "Tự đóng BHXH";
     //
     // lblBarCode
     //
     this.lblBarCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblBarCode.Location = new System.Drawing.Point(443, 422);
     this.lblBarCode.Name = "lblBarCode";
     this.lblBarCode.Size = new System.Drawing.Size(56, 24);
     this.lblBarCode.TabIndex = 46;
     this.lblBarCode.Text = "Mã vạch";
     this.lblBarCode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cboNationality
     //
     this.cboNationality.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboNationality.Items.AddRange(new object[] {
     "Việt Nam",
     "Nhật",
     "Hàn Quốc",
     "Trung Quốc",
     "Thái Lan",
     "Lào",
     "Các nước khác"});
     this.cboNationality.Location = new System.Drawing.Point(106, 255);
     this.cboNationality.Name = "cboNationality";
     this.cboNationality.Size = new System.Drawing.Size(120, 21);
     this.cboNationality.TabIndex = 12;
     //
     // txtBarcode
     //
     this.txtBarcode.BackColor = System.Drawing.SystemColors.Window;
     this.txtBarcode.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtBarcode.Location = new System.Drawing.Point(500, 425);
     this.txtBarcode.MaxLength = 8;
     this.txtBarcode.Name = "txtBarcode";
     this.txtBarcode.ReadOnly = true;
     this.txtBarcode.Size = new System.Drawing.Size(114, 20);
     this.txtBarcode.TabIndex = 26;
     this.txtBarcode.TabStop = false;
     //
     // txtInsurenceID
     //
     this.txtInsurenceID.Location = new System.Drawing.Point(104, 391);
     this.txtInsurenceID.Name = "txtInsurenceID";
     this.txtInsurenceID.Size = new System.Drawing.Size(120, 20);
     this.txtInsurenceID.TabIndex = 21;
     //
     // txtIdentityCard
     //
     this.txtIdentityCard.Location = new System.Drawing.Point(106, 324);
     this.txtIdentityCard.Name = "txtIdentityCard";
     this.txtIdentityCard.Size = new System.Drawing.Size(120, 20);
     this.txtIdentityCard.TabIndex = 16;
     this.txtIdentityCard.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.KeyPressInteger);
     //
     // dtpStartDateInsurance
     //
     this.dtpStartDateInsurance.CustomFormat = "dd/MM/yyyy";
     this.dtpStartDateInsurance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpStartDateInsurance.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpStartDateInsurance.Location = new System.Drawing.Point(300, 391);
     this.dtpStartDateInsurance.Name = "dtpStartDateInsurance";
     this.dtpStartDateInsurance.Size = new System.Drawing.Size(120, 20);
     this.dtpStartDateInsurance.TabIndex = 22;
     //
     // label6
     //
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this.label6.Location = new System.Drawing.Point(240, 392);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(77, 20);
     this.label6.TabIndex = 21;
     this.label6.Text = "Ngày đóng BHXH";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblNationality
     //
     this.lblNationality.Location = new System.Drawing.Point(10, 252);
     this.lblNationality.Name = "lblNationality";
     this.lblNationality.Size = new System.Drawing.Size(90, 24);
     this.lblNationality.TabIndex = 68;
     this.lblNationality.Text = "Quốc tịch";
     this.lblNationality.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtProvince
     //
     this.txtProvince.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtProvince.Location = new System.Drawing.Point(500, 222);
     this.txtProvince.Name = "txtProvince";
     this.txtProvince.Size = new System.Drawing.Size(114, 20);
     this.txtProvince.TabIndex = 11;
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label4.Location = new System.Drawing.Point(414, 218);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(92, 24);
     this.label4.TabIndex = 79;
     this.label4.Text = "Tỉnh/thành phố";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtCommune
     //
     this.txtCommune.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtCommune.Location = new System.Drawing.Point(104, 222);
     this.txtCommune.Name = "txtCommune";
     this.txtCommune.Size = new System.Drawing.Size(120, 20);
     this.txtCommune.TabIndex = 9;
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label3.Location = new System.Drawing.Point(10, 218);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(96, 24);
     this.label3.TabIndex = 77;
     this.label3.Text = "Phường/xã";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtDistrict
     //
     this.txtDistrict.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtDistrict.Location = new System.Drawing.Point(300, 222);
     this.txtDistrict.Name = "txtDistrict";
     this.txtDistrict.Size = new System.Drawing.Size(108, 20);
     this.txtDistrict.TabIndex = 10;
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label2.Location = new System.Drawing.Point(232, 218);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(80, 24);
     this.label2.TabIndex = 75;
     this.label2.Text = "Quận/huyện";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cboReligious
     //
     this.cboReligious.AllowTypeAllSymbols = false;
     this.cboReligious.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboReligious.Items.AddRange(new object[] {
     "Không",
     "Thiên chúa giáo",
     "Khác.."});
     this.cboReligious.Location = new System.Drawing.Point(300, 359);
     this.cboReligious.Name = "cboReligious";
     this.cboReligious.Size = new System.Drawing.Size(120, 21);
     this.cboReligious.TabIndex = 20;
     //
     // cboPeople
     //
     this.cboPeople.AllowTypeAllSymbols = false;
     this.cboPeople.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboPeople.Items.AddRange(new object[] {
     "Kinh",
     "Thái",
     "Tày",
     "Khác..."});
     this.cboPeople.Location = new System.Drawing.Point(104, 356);
     this.cboPeople.Name = "cboPeople";
     this.cboPeople.Size = new System.Drawing.Size(120, 21);
     this.cboPeople.TabIndex = 19;
     //
     // cboMarriageStatus
     //
     this.cboMarriageStatus.AllowTypeAllSymbols = false;
     this.cboMarriageStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboMarriageStatus.Items.AddRange(new object[] {
     "Độc thân",
     "Đã có gia đình"});
     this.cboMarriageStatus.Location = new System.Drawing.Point(300, 255);
     this.cboMarriageStatus.Name = "cboMarriageStatus";
     this.cboMarriageStatus.Size = new System.Drawing.Size(108, 21);
     this.cboMarriageStatus.TabIndex = 13;
     //
     // cboGender
     //
     this.cboGender.AllowTypeAllSymbols = false;
     this.cboGender.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboGender.Items.AddRange(new object[] {
     "Nam",
     "Nữ"});
     this.cboGender.Location = new System.Drawing.Point(328, 52);
     this.cboGender.Name = "cboGender";
     this.cboGender.Size = new System.Drawing.Size(104, 21);
     this.cboGender.TabIndex = 3;
     //
     // lblIdentityCard
     //
     this.lblIdentityCard.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblIdentityCard.Location = new System.Drawing.Point(10, 320);
     this.lblIdentityCard.Name = "lblIdentityCard";
     this.lblIdentityCard.Size = new System.Drawing.Size(90, 24);
     this.lblIdentityCard.TabIndex = 68;
     this.lblIdentityCard.Text = "Số CMND";
     this.lblIdentityCard.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblInsuranceID
     //
     this.lblInsuranceID.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblInsuranceID.Location = new System.Drawing.Point(10, 387);
     this.lblInsuranceID.Name = "lblInsuranceID";
     this.lblInsuranceID.Size = new System.Drawing.Size(96, 24);
     this.lblInsuranceID.TabIndex = 69;
     this.lblInsuranceID.Text = "Số sổ BHXH";
     this.lblInsuranceID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dtpIssue
     //
     this.dtpIssue.CustomFormat = "dd/MM/yyyy";
     this.dtpIssue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpIssue.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpIssue.Location = new System.Drawing.Point(300, 324);
     this.dtpIssue.Name = "dtpIssue";
     this.dtpIssue.Size = new System.Drawing.Size(96, 20);
     this.dtpIssue.TabIndex = 17;
     this.dtpIssue.Validating += new System.ComponentModel.CancelEventHandler(this.dtpIssue_Validating);
     //
     // lblIssue
     //
     this.lblIssue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblIssue.Location = new System.Drawing.Point(240, 320);
     this.lblIssue.Name = "lblIssue";
     this.lblIssue.Size = new System.Drawing.Size(60, 24);
     this.lblIssue.TabIndex = 70;
     this.lblIssue.Text = "Ngày cấp";
     this.lblIssue.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblReligious
     //
     this.lblReligious.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblReligious.Location = new System.Drawing.Point(240, 356);
     this.lblReligious.Name = "lblReligious";
     this.lblReligious.Size = new System.Drawing.Size(62, 24);
     this.lblReligious.TabIndex = 62;
     this.lblReligious.Text = "Tôn giáo";
     this.lblReligious.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblPeople
     //
     this.lblPeople.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblPeople.Location = new System.Drawing.Point(10, 353);
     this.lblPeople.Name = "lblPeople";
     this.lblPeople.Size = new System.Drawing.Size(96, 24);
     this.lblPeople.TabIndex = 60;
     this.lblPeople.Text = "Dân tộc";
     this.lblPeople.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dtpDateOfBirth
     //
     this.dtpDateOfBirth.CustomFormat = "dd/MM/yyyy";
     this.dtpDateOfBirth.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpDateOfBirth.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpDateOfBirth.Location = new System.Drawing.Point(104, 53);
     this.dtpDateOfBirth.Name = "dtpDateOfBirth";
     this.dtpDateOfBirth.Size = new System.Drawing.Size(104, 20);
     this.dtpDateOfBirth.TabIndex = 2;
     this.dtpDateOfBirth.Validating += new System.ComponentModel.CancelEventHandler(this.dtpDateOfBirth_Validating);
     //
     // txtPhone
     //
     this.txtPhone.AllowNegative = false;
     this.txtPhone.DigitsInGroup = 0;
     this.txtPhone.Flags = 65536;
     this.txtPhone.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtPhone.Location = new System.Drawing.Point(106, 290);
     this.txtPhone.MaxDecimalPlaces = 4;
     this.txtPhone.MaxWholeDigits = 11;
     this.txtPhone.Name = "txtPhone";
     this.txtPhone.Prefix = "";
     this.txtPhone.RangeMax = 1.7976931348623157E+308;
     this.txtPhone.RangeMin = -1.7976931348623157E+308;
     this.txtPhone.Size = new System.Drawing.Size(120, 20);
     this.txtPhone.TabIndex = 14;
     //
     // lblMarriageStatus
     //
     this.lblMarriageStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblMarriageStatus.Location = new System.Drawing.Point(240, 252);
     this.lblMarriageStatus.Name = "lblMarriageStatus";
     this.lblMarriageStatus.Size = new System.Drawing.Size(56, 24);
     this.lblMarriageStatus.TabIndex = 56;
     this.lblMarriageStatus.Text = "Hôn nhân";
     this.lblMarriageStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtResident
     //
     this.txtResident.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtResident.Location = new System.Drawing.Point(104, 119);
     this.txtResident.Name = "txtResident";
     this.txtResident.Size = new System.Drawing.Size(328, 20);
     this.txtResident.TabIndex = 5;
     //
     // lblResident
     //
     this.lblResident.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblResident.Location = new System.Drawing.Point(10, 115);
     this.lblResident.Name = "lblResident";
     this.lblResident.Size = new System.Drawing.Size(90, 24);
     this.lblResident.TabIndex = 52;
     this.lblResident.Text = "Hộ khẩu";
     this.lblResident.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblBirthPlace
     //
     this.lblBirthPlace.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblBirthPlace.Location = new System.Drawing.Point(10, 82);
     this.lblBirthPlace.Name = "lblBirthPlace";
     this.lblBirthPlace.Size = new System.Drawing.Size(90, 24);
     this.lblBirthPlace.TabIndex = 27;
     this.lblBirthPlace.Text = "Nơi sinh";
     this.lblBirthPlace.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtBirthPlace
     //
     this.txtBirthPlace.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtBirthPlace.Location = new System.Drawing.Point(104, 86);
     this.txtBirthPlace.Name = "txtBirthPlace";
     this.txtBirthPlace.Size = new System.Drawing.Size(328, 20);
     this.txtBirthPlace.TabIndex = 4;
     //
     // txtEmail
     //
     this.txtEmail.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtEmail.Location = new System.Drawing.Point(300, 290);
     this.txtEmail.Name = "txtEmail";
     this.txtEmail.Size = new System.Drawing.Size(206, 20);
     this.txtEmail.TabIndex = 15;
     //
     // lblEmail
     //
     this.lblEmail.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblEmail.Location = new System.Drawing.Point(240, 286);
     this.lblEmail.Name = "lblEmail";
     this.lblEmail.Size = new System.Drawing.Size(60, 24);
     this.lblEmail.TabIndex = 15;
     this.lblEmail.Text = "Email";
     this.lblEmail.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnChoosePic
     //
     this.btnChoosePic.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.btnChoosePic.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnChoosePic.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.btnChoosePic.Location = new System.Drawing.Point(440, 184);
     this.btnChoosePic.Name = "btnChoosePic";
     this.btnChoosePic.Size = new System.Drawing.Size(174, 23);
     this.btnChoosePic.TabIndex = 8;
     this.btnChoosePic.Text = "Chọn ảnh...";
     this.btnChoosePic.Click += new System.EventHandler(this.btnChoosePic_Click);
     //
     // picEmployee
     //
     this.picEmployee.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.picEmployee.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.picEmployee.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.picEmployee.Location = new System.Drawing.Point(441, 15);
     this.picEmployee.Name = "picEmployee";
     this.picEmployee.Size = new System.Drawing.Size(173, 167);
     this.picEmployee.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.picEmployee.TabIndex = 13;
     this.picEmployee.TabStop = false;
     //
     // txtCardID
     //
     this.txtCardID.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtCardID.Location = new System.Drawing.Point(328, 20);
     this.txtCardID.MaxLength = 10;
     this.txtCardID.Name = "txtCardID";
     this.txtCardID.Size = new System.Drawing.Size(104, 20);
     this.txtCardID.TabIndex = 1;
     this.txtCardID.Validating += new System.ComponentModel.CancelEventHandler(this.txtCardID_Validating);
     //
     // lblCardID
     //
     this.lblCardID.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblCardID.Location = new System.Drawing.Point(280, 16);
     this.lblCardID.Name = "lblCardID";
     this.lblCardID.Size = new System.Drawing.Size(48, 24);
     this.lblCardID.TabIndex = 10;
     this.lblCardID.Text = "Mã thẻ";
     this.lblCardID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtAddress
     //
     this.txtAddress.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtAddress.Location = new System.Drawing.Point(104, 154);
     this.txtAddress.Name = "txtAddress";
     this.txtAddress.Size = new System.Drawing.Size(328, 20);
     this.txtAddress.TabIndex = 6;
     //
     // txtEmployeeName
     //
     this.txtEmployeeName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtEmployeeName.Location = new System.Drawing.Point(104, 20);
     this.txtEmployeeName.Name = "txtEmployeeName";
     this.txtEmployeeName.Size = new System.Drawing.Size(160, 20);
     this.txtEmployeeName.TabIndex = 0;
     this.txtEmployeeName.Validating += new System.ComponentModel.CancelEventHandler(this.txtEmployeeName_Validating);
     //
     // lblPhone
     //
     this.lblPhone.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblPhone.Location = new System.Drawing.Point(10, 286);
     this.lblPhone.Name = "lblPhone";
     this.lblPhone.Size = new System.Drawing.Size(90, 24);
     this.lblPhone.TabIndex = 4;
     this.lblPhone.Text = "Điện thoại";
     this.lblPhone.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblAddress
     //
     this.lblAddress.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblAddress.Location = new System.Drawing.Point(10, 148);
     this.lblAddress.Name = "lblAddress";
     this.lblAddress.Size = new System.Drawing.Size(96, 26);
     this.lblAddress.TabIndex = 3;
     this.lblAddress.Text = "Địa chỉ thường trú";
     this.lblAddress.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblGender
     //
     this.lblGender.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblGender.Location = new System.Drawing.Point(280, 49);
     this.lblGender.Name = "lblGender";
     this.lblGender.Size = new System.Drawing.Size(54, 24);
     this.lblGender.TabIndex = 2;
     this.lblGender.Text = "Giới tính";
     this.lblGender.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblBirthday
     //
     this.lblBirthday.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblBirthday.Location = new System.Drawing.Point(8, 49);
     this.lblBirthday.Name = "lblBirthday";
     this.lblBirthday.Size = new System.Drawing.Size(90, 24);
     this.lblBirthday.TabIndex = 1;
     this.lblBirthday.Text = "Ngày sinh";
     this.lblBirthday.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblEmployeeName
     //
     this.lblEmployeeName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblEmployeeName.Location = new System.Drawing.Point(8, 16);
     this.lblEmployeeName.Name = "lblEmployeeName";
     this.lblEmployeeName.Size = new System.Drawing.Size(90, 24);
     this.lblEmployeeName.TabIndex = 0;
     this.lblEmployeeName.Text = "Tên nhân viên";
     this.lblEmployeeName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tpSalary
     //
     this.tpSalary.Controls.Add(this.grbAllowance);
     this.tpSalary.Controls.Add(this.grbBasicSalary);
     this.tpSalary.Controls.Add(this.grbHiringInfo);
     this.tpSalary.Location = new System.Drawing.Point(4, 22);
     this.tpSalary.Name = "tpSalary";
     this.tpSalary.Size = new System.Drawing.Size(636, 552);
     this.tpSalary.TabIndex = 1;
     this.tpSalary.Text = "Lương và tuyển dụng";
     //
     // grbAllowance
     //
     this.grbAllowance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.grbAllowance.Controls.Add(this.chk_PCDL_CoDinhThang);
     this.grbAllowance.Controls.Add(this.txtTaskAllowance);
     this.grbAllowance.Controls.Add(this.label17);
     this.grbAllowance.Controls.Add(this.txtJapaneseAllowance);
     this.grbAllowance.Controls.Add(this.label16);
     this.grbAllowance.Controls.Add(this.txtIntimateAllowance);
     this.grbAllowance.Controls.Add(this.label13);
     this.grbAllowance.Controls.Add(this.label1);
     this.grbAllowance.Controls.Add(this.lblHarmfulAllowance);
     this.grbAllowance.Controls.Add(this.txtPositionAllowance);
     this.grbAllowance.Controls.Add(this.lblLunchAllowance);
     this.grbAllowance.Controls.Add(this.txtLunchAllowance);
     this.grbAllowance.Controls.Add(this.lblResponsibleAllowance);
     this.grbAllowance.Controls.Add(this.txtJobAllowance);
     this.grbAllowance.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grbAllowance.Location = new System.Drawing.Point(8, 466);
     this.grbAllowance.Name = "grbAllowance";
     this.grbAllowance.Size = new System.Drawing.Size(620, 78);
     this.grbAllowance.TabIndex = 14;
     this.grbAllowance.TabStop = false;
     this.grbAllowance.Text = "Các loại phụ cấp";
     //
     // chk_PCDL_CoDinhThang
     //
     this.chk_PCDL_CoDinhThang.AutoSize = true;
     this.chk_PCDL_CoDinhThang.Location = new System.Drawing.Point(161, 49);
     this.chk_PCDL_CoDinhThang.Name = "chk_PCDL_CoDinhThang";
     this.chk_PCDL_CoDinhThang.Size = new System.Drawing.Size(63, 17);
     this.chk_PCDL_CoDinhThang.TabIndex = 4;
     this.chk_PCDL_CoDinhThang.Text = "Cố định";
     this.chk_PCDL_CoDinhThang.UseVisualStyleBackColor = true;
     //
     // txtTaskAllowance
     //
     this.txtTaskAllowance.AllowNegative = false;
     this.txtTaskAllowance.Flags = 73216;
     this.txtTaskAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtTaskAllowance.Location = new System.Drawing.Point(318, 47);
     this.txtTaskAllowance.MaxWholeDigits = 9;
     this.txtTaskAllowance.Name = "txtTaskAllowance";
     this.txtTaskAllowance.RangeMax = 1.7976931348623157E+308;
     this.txtTaskAllowance.RangeMin = -1.7976931348623157E+308;
     this.txtTaskAllowance.Size = new System.Drawing.Size(90, 20);
     this.txtTaskAllowance.TabIndex = 5;
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label17.Location = new System.Drawing.Point(247, 51);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(71, 13);
     this.label17.TabIndex = 85;
     this.label17.Text = "PC công việc";
     this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtJapaneseAllowance
     //
     this.txtJapaneseAllowance.AllowNegative = false;
     this.txtJapaneseAllowance.Flags = 73216;
     this.txtJapaneseAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtJapaneseAllowance.Location = new System.Drawing.Point(502, 47);
     this.txtJapaneseAllowance.MaxWholeDigits = 9;
     this.txtJapaneseAllowance.Name = "txtJapaneseAllowance";
     this.txtJapaneseAllowance.RangeMax = 1.7976931348623157E+308;
     this.txtJapaneseAllowance.RangeMin = -1.7976931348623157E+308;
     this.txtJapaneseAllowance.Size = new System.Drawing.Size(90, 20);
     this.txtJapaneseAllowance.TabIndex = 6;
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label16.Location = new System.Drawing.Point(427, 51);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(73, 13);
     this.label16.TabIndex = 83;
     this.label16.Text = "PC tiếng Nhật";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtIntimateAllowance
     //
     this.txtIntimateAllowance.AllowNegative = false;
     this.txtIntimateAllowance.Flags = 73216;
     this.txtIntimateAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtIntimateAllowance.Location = new System.Drawing.Point(65, 47);
     this.txtIntimateAllowance.MaxWholeDigits = 9;
     this.txtIntimateAllowance.Name = "txtIntimateAllowance";
     this.txtIntimateAllowance.RangeMax = 1.7976931348623157E+308;
     this.txtIntimateAllowance.RangeMin = -1.7976931348623157E+308;
     this.txtIntimateAllowance.Size = new System.Drawing.Size(90, 20);
     this.txtIntimateAllowance.TabIndex = 3;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label13.Location = new System.Drawing.Point(17, 51);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(46, 13);
     this.label13.TabIndex = 81;
     this.label13.Text = "PC đi lại";
     this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(155, 26);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(35, 13);
     this.label1.TabIndex = 79;
     this.label1.Text = "/ngày";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblHarmfulAllowance
     //
     this.lblHarmfulAllowance.AutoSize = true;
     this.lblHarmfulAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblHarmfulAllowance.Location = new System.Drawing.Point(255, 26);
     this.lblHarmfulAllowance.Name = "lblHarmfulAllowance";
     this.lblHarmfulAllowance.Size = new System.Drawing.Size(63, 13);
     this.lblHarmfulAllowance.TabIndex = 77;
     this.lblHarmfulAllowance.Text = "PC chức vụ";
     this.lblHarmfulAllowance.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtPositionAllowance
     //
     this.txtPositionAllowance.AllowNegative = false;
     this.txtPositionAllowance.Flags = 73216;
     this.txtPositionAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtPositionAllowance.Location = new System.Drawing.Point(319, 22);
     this.txtPositionAllowance.MaxWholeDigits = 9;
     this.txtPositionAllowance.Name = "txtPositionAllowance";
     this.txtPositionAllowance.RangeMax = 1.7976931348623157E+308;
     this.txtPositionAllowance.RangeMin = -1.7976931348623157E+308;
     this.txtPositionAllowance.Size = new System.Drawing.Size(90, 20);
     this.txtPositionAllowance.TabIndex = 1;
     //
     // lblLunchAllowance
     //
     this.lblLunchAllowance.AutoSize = true;
     this.lblLunchAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblLunchAllowance.Location = new System.Drawing.Point(6, 26);
     this.lblLunchAllowance.Name = "lblLunchAllowance";
     this.lblLunchAllowance.Size = new System.Drawing.Size(57, 13);
     this.lblLunchAllowance.TabIndex = 74;
     this.lblLunchAllowance.Text = "PC ăn trưa";
     this.lblLunchAllowance.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtLunchAllowance
     //
     this.txtLunchAllowance.AllowNegative = false;
     this.txtLunchAllowance.Flags = 73216;
     this.txtLunchAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtLunchAllowance.Location = new System.Drawing.Point(65, 22);
     this.txtLunchAllowance.MaxWholeDigits = 9;
     this.txtLunchAllowance.Name = "txtLunchAllowance";
     this.txtLunchAllowance.RangeMax = 1.7976931348623157E+308;
     this.txtLunchAllowance.RangeMin = -1.7976931348623157E+308;
     this.txtLunchAllowance.Size = new System.Drawing.Size(90, 20);
     this.txtLunchAllowance.TabIndex = 0;
     //
     // lblResponsibleAllowance
     //
     this.lblResponsibleAllowance.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblResponsibleAllowance.AutoSize = true;
     this.lblResponsibleAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblResponsibleAllowance.Location = new System.Drawing.Point(437, 26);
     this.lblResponsibleAllowance.Name = "lblResponsibleAllowance";
     this.lblResponsibleAllowance.Size = new System.Drawing.Size(83, 13);
     this.lblResponsibleAllowance.TabIndex = 78;
     this.lblResponsibleAllowance.Text = "PC nghề nghiệp";
     this.lblResponsibleAllowance.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtJobAllowance
     //
     this.txtJobAllowance.AllowNegative = false;
     this.txtJobAllowance.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.txtJobAllowance.Flags = 73216;
     this.txtJobAllowance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtJobAllowance.Location = new System.Drawing.Point(522, 22);
     this.txtJobAllowance.MaxWholeDigits = 9;
     this.txtJobAllowance.Name = "txtJobAllowance";
     this.txtJobAllowance.RangeMax = 1.7976931348623157E+308;
     this.txtJobAllowance.RangeMin = -1.7976931348623157E+308;
     this.txtJobAllowance.Size = new System.Drawing.Size(90, 20);
     this.txtJobAllowance.TabIndex = 2;
     //
     // grbBasicSalary
     //
     this.grbBasicSalary.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.grbBasicSalary.Controls.Add(this.lblSalaryChangedDay);
     this.grbBasicSalary.Controls.Add(this.txtSalaryDN);
     this.grbBasicSalary.Controls.Add(this.txtSalaryNote);
     this.grbBasicSalary.Controls.Add(this.lblSalaryNote);
     this.grbBasicSalary.Controls.Add(this.lblSalaryDN);
     this.grbBasicSalary.Controls.Add(this.txtBasicSalary);
     this.grbBasicSalary.Controls.Add(this.lblBasicSalary);
     this.grbBasicSalary.Controls.Add(this.btnChangeSalary);
     this.grbBasicSalary.Controls.Add(this.lvwSalaryHistory);
     this.grbBasicSalary.Controls.Add(this.dtpSalaryChangedDay);
     this.grbBasicSalary.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grbBasicSalary.Location = new System.Drawing.Point(8, 123);
     this.grbBasicSalary.Name = "grbBasicSalary";
     this.grbBasicSalary.Size = new System.Drawing.Size(620, 337);
     this.grbBasicSalary.TabIndex = 13;
     this.grbBasicSalary.TabStop = false;
     this.grbBasicSalary.Text = "Diễn biến lương";
     //
     // lblSalaryChangedDay
     //
     this.lblSalaryChangedDay.Location = new System.Drawing.Point(339, 14);
     this.lblSalaryChangedDay.Name = "lblSalaryChangedDay";
     this.lblSalaryChangedDay.Size = new System.Drawing.Size(73, 23);
     this.lblSalaryChangedDay.TabIndex = 78;
     this.lblSalaryChangedDay.Text = "Ngày thay đổi";
     this.lblSalaryChangedDay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtSalaryDN
     //
     this.txtSalaryDN.Enabled = false;
     this.txtSalaryDN.Location = new System.Drawing.Point(264, 16);
     this.txtSalaryDN.Name = "txtSalaryDN";
     this.txtSalaryDN.Size = new System.Drawing.Size(72, 20);
     this.txtSalaryDN.TabIndex = 2;
     //
     // txtSalaryNote
     //
     this.txtSalaryNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSalaryNote.Enabled = false;
     this.txtSalaryNote.Location = new System.Drawing.Point(88, 40);
     this.txtSalaryNote.Name = "txtSalaryNote";
     this.txtSalaryNote.Size = new System.Drawing.Size(428, 20);
     this.txtSalaryNote.TabIndex = 4;
     //
     // lblSalaryNote
     //
     this.lblSalaryNote.Location = new System.Drawing.Point(8, 40);
     this.lblSalaryNote.Name = "lblSalaryNote";
     this.lblSalaryNote.Size = new System.Drawing.Size(80, 23);
     this.lblSalaryNote.TabIndex = 76;
     this.lblSalaryNote.Text = "Ghi chú";
     this.lblSalaryNote.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblSalaryDN
     //
     this.lblSalaryDN.Location = new System.Drawing.Point(184, 16);
     this.lblSalaryDN.Name = "lblSalaryDN";
     this.lblSalaryDN.Size = new System.Drawing.Size(80, 23);
     this.lblSalaryDN.TabIndex = 74;
     this.lblSalaryDN.Text = "Quyết định số";
     this.lblSalaryDN.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtBasicSalary
     //
     this.txtBasicSalary.AllowNegative = false;
     this.txtBasicSalary.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBasicSalary.Flags = 73216;
     this.txtBasicSalary.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtBasicSalary.Location = new System.Drawing.Point(88, 16);
     this.txtBasicSalary.MaxWholeDigits = 10;
     this.txtBasicSalary.Name = "txtBasicSalary";
     this.txtBasicSalary.RangeMax = 1.7976931348623157E+308;
     this.txtBasicSalary.RangeMin = -1.7976931348623157E+308;
     this.txtBasicSalary.Size = new System.Drawing.Size(108, 20);
     this.txtBasicSalary.TabIndex = 0;
     //
     // lblBasicSalary
     //
     this.lblBasicSalary.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblBasicSalary.Location = new System.Drawing.Point(8, 16);
     this.lblBasicSalary.Name = "lblBasicSalary";
     this.lblBasicSalary.Size = new System.Drawing.Size(80, 24);
     this.lblBasicSalary.TabIndex = 73;
     this.lblBasicSalary.Text = "Lương cơ bản";
     this.lblBasicSalary.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnChangeSalary
     //
     this.btnChangeSalary.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnChangeSalary.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnChangeSalary.Location = new System.Drawing.Point(524, 24);
     this.btnChangeSalary.Name = "btnChangeSalary";
     this.btnChangeSalary.Size = new System.Drawing.Size(88, 24);
     this.btnChangeSalary.TabIndex = 1;
     this.btnChangeSalary.Text = "Mức lương mới";
     this.btnChangeSalary.Click += new System.EventHandler(this.btnChangeSalary_Click);
     this.btnChangeSalary.EnabledChanged += new System.EventHandler(this.btnChangeSalary_EnabledChanged);
     //
     // lvwSalaryHistory
     //
     this.lvwSalaryHistory.AlternatingRowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(237)))), ((int)(((byte)(245)))));
     this.lvwSalaryHistory.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lvwSalaryHistory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(242)))), ((int)(((byte)(249)))));
     this.lvwSalaryHistory.ColumnModel = this.cmSalary;
     this.lvwSalaryHistory.ContextMenu = this.ctxSalary;
     this.lvwSalaryHistory.EnableToolTips = true;
     this.lvwSalaryHistory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     this.lvwSalaryHistory.FullRowSelect = true;
     this.lvwSalaryHistory.GridColor = System.Drawing.SystemColors.ControlDark;
     this.lvwSalaryHistory.GridLines = XPTable.Models.GridLines.Both;
     this.lvwSalaryHistory.GridLineStyle = XPTable.Models.GridLineStyle.Dot;
     this.lvwSalaryHistory.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lvwSalaryHistory.Location = new System.Drawing.Point(8, 64);
     this.lvwSalaryHistory.Name = "lvwSalaryHistory";
     this.lvwSalaryHistory.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(183)))), ((int)(((byte)(201)))));
     this.lvwSalaryHistory.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     this.lvwSalaryHistory.SelectionStyle = XPTable.Models.SelectionStyle.Grid;
     this.lvwSalaryHistory.Size = new System.Drawing.Size(604, 267);
     this.lvwSalaryHistory.SortedColumnBackColor = System.Drawing.Color.Transparent;
     this.lvwSalaryHistory.TabIndex = 11;
     this.lvwSalaryHistory.TableModel = this.tmSalary;
     this.lvwSalaryHistory.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(221)))));
     this.lvwSalaryHistory.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     //
     // cmSalary
     //
     this.cmSalary.Columns.AddRange(new XPTable.Models.Column[] {
     this.cSTT,
     this.cBasicSalary,
     this.cModifiedDate,
     this.cDecisionNumber,
     this.cNote});
     //
     // cSTT
     //
     this.cSTT.Editable = false;
     this.cSTT.Text = "STT";
     this.cSTT.Width = 50;
     //
     // cBasicSalary
     //
     this.cBasicSalary.Editable = false;
     this.cBasicSalary.Text = "Lương cơ bản";
     this.cBasicSalary.Width = 120;
     //
     // cModifiedDate
     //
     this.cModifiedDate.Editable = false;
     this.cModifiedDate.Text = "Ngày thay đổi";
     this.cModifiedDate.Width = 95;
     //
     // cDecisionNumber
     //
     this.cDecisionNumber.Editable = false;
     this.cDecisionNumber.Text = "Quyết định số";
     this.cDecisionNumber.Width = 100;
     //
     // cNote
     //
     this.cNote.Editable = false;
     this.cNote.Text = "Ghi chú";
     this.cNote.Width = 170;
     //
     // ctxSalary
     //
     this.ctxSalary.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.mnuEditSalaryHistory,
     this.mnuDeleteSalaryHistory});
     //
     // mnuEditSalaryHistory
     //
     this.mnuEditSalaryHistory.Index = 0;
     this.mnuEditSalaryHistory.Text = "&Sửa diễn biến lương...";
     this.mnuEditSalaryHistory.Click += new System.EventHandler(this.mnuEditSalaryHistory_Click);
     //
     // mnuDeleteSalaryHistory
     //
     this.mnuDeleteSalaryHistory.Index = 1;
     this.mnuDeleteSalaryHistory.Text = "&Xóa diễn biến lương...";
     this.mnuDeleteSalaryHistory.Click += new System.EventHandler(this.mnuDeleteSalaryHistory_Click);
     //
     // dtpSalaryChangedDay
     //
     this.dtpSalaryChangedDay.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.dtpSalaryChangedDay.CustomFormat = "dd/MM/yyyy";
     this.dtpSalaryChangedDay.Enabled = false;
     this.dtpSalaryChangedDay.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpSalaryChangedDay.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpSalaryChangedDay.Location = new System.Drawing.Point(412, 77);
     this.dtpSalaryChangedDay.Name = "dtpSalaryChangedDay";
     this.dtpSalaryChangedDay.Size = new System.Drawing.Size(88, 20);
     this.dtpSalaryChangedDay.TabIndex = 3;
     //
     // grbHiringInfo
     //
     this.grbHiringInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.grbHiringInfo.Controls.Add(this.dtpStopWork);
     this.grbHiringInfo.Controls.Add(this.chkStopWork);
     this.grbHiringInfo.Controls.Add(this.label8);
     this.grbHiringInfo.Controls.Add(this.label5);
     this.grbHiringInfo.Controls.Add(this.mtgcComboFixSalary);
     this.grbHiringInfo.Controls.Add(this.label9);
     this.grbHiringInfo.Controls.Add(this.cboContract);
     this.grbHiringInfo.Controls.Add(this.dtpStartTrial);
     this.grbHiringInfo.Controls.Add(this.dtpStartDate);
     this.grbHiringInfo.Controls.Add(this.dtpRecruitDate);
     this.grbHiringInfo.Controls.Add(this.lblRecruitDate);
     this.grbHiringInfo.Controls.Add(this.lblContract);
     this.grbHiringInfo.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grbHiringInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.grbHiringInfo.Location = new System.Drawing.Point(8, 8);
     this.grbHiringInfo.Name = "grbHiringInfo";
     this.grbHiringInfo.Size = new System.Drawing.Size(620, 109);
     this.grbHiringInfo.TabIndex = 11;
     this.grbHiringInfo.TabStop = false;
     this.grbHiringInfo.Text = "Thông tin tuyển dụng";
     //
     // dtpStopWork
     //
     this.dtpStopWork.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.dtpStopWork.CustomFormat = "dd/MM/yyyy";
     this.dtpStopWork.Enabled = false;
     this.dtpStopWork.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpStopWork.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpStopWork.Location = new System.Drawing.Point(448, 46);
     this.dtpStopWork.Name = "dtpStopWork";
     this.dtpStopWork.Size = new System.Drawing.Size(104, 20);
     this.dtpStopWork.TabIndex = 6;
     //
     // chkStopWork
     //
     this.chkStopWork.AutoSize = true;
     this.chkStopWork.Location = new System.Drawing.Point(333, 49);
     this.chkStopWork.Name = "chkStopWork";
     this.chkStopWork.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.chkStopWork.Size = new System.Drawing.Size(94, 17);
     this.chkStopWork.TabIndex = 5;
     this.chkStopWork.Text = "Ngày thôi việc";
     this.chkStopWork.UseVisualStyleBackColor = true;
     this.chkStopWork.CheckedChanged += new System.EventHandler(this.chkStopWork_CheckedChanged);
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(6, 49);
     this.label8.Name = "label8";
     this.label8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label8.Size = new System.Drawing.Size(125, 17);
     this.label8.TabIndex = 3;
     this.label8.Text = "Ngày làm chính thức";
     this.label8.UseVisualStyleBackColor = true;
     this.label8.CheckedChanged += new System.EventHandler(this.label8_CheckedChanged);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.errorProvider1.SetIconAlignment(this.label5, System.Windows.Forms.ErrorIconAlignment.TopRight);
     this.label5.Location = new System.Drawing.Point(333, 23);
     this.label5.Name = "label5";
     this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label5.Size = new System.Drawing.Size(105, 17);
     this.label5.TabIndex = 1;
     this.label5.Text = "Bắt đầu thử việc";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label5.UseVisualStyleBackColor = true;
     this.label5.CheckedChanged += new System.EventHandler(this.label5_CheckedChanged);
     //
     // mtgcComboFixSalary
     //
     this.mtgcComboFixSalary.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.mtgcComboFixSalary.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D;
     this.mtgcComboFixSalary.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
     this.mtgcComboFixSalary.ColumnNum = 2;
     this.mtgcComboFixSalary.ColumnWidth = "0;220";
     this.mtgcComboFixSalary.DisplayMember = "Text";
     this.mtgcComboFixSalary.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.mtgcComboFixSalary.DropDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(210)))), ((int)(((byte)(238)))));
     this.mtgcComboFixSalary.DropDownForeColor = System.Drawing.Color.Black;
     this.mtgcComboFixSalary.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList;
     this.mtgcComboFixSalary.DropDownWidth = 120;
     this.mtgcComboFixSalary.GridLineColor = System.Drawing.Color.LightGray;
     this.mtgcComboFixSalary.GridLineHorizontal = true;
     this.mtgcComboFixSalary.GridLineVertical = false;
     this.mtgcComboFixSalary.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem;
     this.mtgcComboFixSalary.Location = new System.Drawing.Point(448, 72);
     this.mtgcComboFixSalary.ManagingFastMouseMoving = true;
     this.mtgcComboFixSalary.ManagingFastMouseMovingInterval = 30;
     this.mtgcComboFixSalary.Name = "mtgcComboFixSalary";
     this.mtgcComboFixSalary.Size = new System.Drawing.Size(104, 21);
     this.mtgcComboFixSalary.TabIndex = 8;
     //
     // label9
     //
     this.label9.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label9.Location = new System.Drawing.Point(6, 69);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(63, 24);
     this.label9.TabIndex = 47;
     this.label9.Text = "Hợp đồng";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cboContract
     //
     this.cboContract.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.cboContract.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D;
     this.cboContract.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
     this.cboContract.ColumnNum = 2;
     this.cboContract.ColumnWidth = "0;220";
     this.cboContract.DisplayMember = "Text";
     this.cboContract.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cboContract.DropDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(210)))), ((int)(((byte)(238)))));
     this.cboContract.DropDownForeColor = System.Drawing.Color.Black;
     this.cboContract.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList;
     this.cboContract.DropDownWidth = 120;
     this.cboContract.GridLineColor = System.Drawing.Color.LightGray;
     this.cboContract.GridLineHorizontal = true;
     this.cboContract.GridLineVertical = false;
     this.cboContract.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem;
     this.cboContract.Location = new System.Drawing.Point(137, 72);
     this.cboContract.ManagingFastMouseMoving = true;
     this.cboContract.ManagingFastMouseMovingInterval = 30;
     this.cboContract.Name = "cboContract";
     this.cboContract.Size = new System.Drawing.Size(104, 21);
     this.cboContract.TabIndex = 7;
     this.cboContract.SelectedIndexChanged += new System.EventHandler(this.cboContract_SelectedIndexChanged);
     //
     // dtpStartTrial
     //
     this.dtpStartTrial.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.dtpStartTrial.CustomFormat = "dd/MM/yyyy";
     this.dtpStartTrial.Enabled = false;
     this.dtpStartTrial.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpStartTrial.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpStartTrial.Location = new System.Drawing.Point(448, 20);
     this.dtpStartTrial.Name = "dtpStartTrial";
     this.dtpStartTrial.Size = new System.Drawing.Size(104, 20);
     this.dtpStartTrial.TabIndex = 2;
     //
     // dtpStartDate
     //
     this.dtpStartDate.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.dtpStartDate.CustomFormat = "dd/MM/yyyy";
     this.dtpStartDate.Enabled = false;
     this.dtpStartDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpStartDate.Location = new System.Drawing.Point(137, 46);
     this.dtpStartDate.Name = "dtpStartDate";
     this.dtpStartDate.Size = new System.Drawing.Size(104, 20);
     this.dtpStartDate.TabIndex = 4;
     //
     // dtpRecruitDate
     //
     this.dtpRecruitDate.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.dtpRecruitDate.CustomFormat = "dd/MM/yyyy";
     this.dtpRecruitDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpRecruitDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpRecruitDate.Location = new System.Drawing.Point(137, 20);
     this.dtpRecruitDate.Name = "dtpRecruitDate";
     this.dtpRecruitDate.Size = new System.Drawing.Size(104, 20);
     this.dtpRecruitDate.TabIndex = 0;
     //
     // lblRecruitDate
     //
     this.lblRecruitDate.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.lblRecruitDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblRecruitDate.Location = new System.Drawing.Point(6, 16);
     this.lblRecruitDate.Name = "lblRecruitDate";
     this.lblRecruitDate.Size = new System.Drawing.Size(134, 24);
     this.lblRecruitDate.TabIndex = 38;
     this.lblRecruitDate.Text = "Ngày tuyển";
     this.lblRecruitDate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblContract
     //
     this.lblContract.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.lblContract.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblContract.Location = new System.Drawing.Point(333, 69);
     this.lblContract.Name = "lblContract";
     this.lblContract.Size = new System.Drawing.Size(65, 24);
     this.lblContract.TabIndex = 40;
     this.lblContract.Text = "Kiểu lương";
     this.lblContract.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tpDepartment
     //
     this.tpDepartment.Controls.Add(this.groupBox4);
     this.tpDepartment.Controls.Add(this.groupBox2);
     this.tpDepartment.Location = new System.Drawing.Point(4, 22);
     this.tpDepartment.Name = "tpDepartment";
     this.tpDepartment.Size = new System.Drawing.Size(636, 552);
     this.tpDepartment.TabIndex = 2;
     this.tpDepartment.Text = "Bộ phận-chức vụ";
     //
     // groupBox4
     //
     this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox4.Controls.Add(this.dtpChangePosition);
     this.groupBox4.Controls.Add(this.label11);
     this.groupBox4.Controls.Add(this.lvwPositionHistory);
     this.groupBox4.Controls.Add(this.btnChangePosition);
     this.groupBox4.Controls.Add(this.cboPosition);
     this.groupBox4.Controls.Add(this.txtPositionNote);
     this.groupBox4.Controls.Add(this.lblPositionNote);
     this.groupBox4.Controls.Add(this.lblPositionDN);
     this.groupBox4.Controls.Add(this.lblPositionName);
     this.groupBox4.Controls.Add(this.txtPositionDN);
     this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox4.Location = new System.Drawing.Point(8, 380);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(628, 168);
     this.groupBox4.TabIndex = 14;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Thay đổi chức vụ";
     //
     // dtpChangePosition
     //
     this.dtpChangePosition.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.dtpChangePosition.CustomFormat = "dd/MM/yyyy";
     this.dtpChangePosition.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpChangePosition.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpChangePosition.Location = new System.Drawing.Point(408, 39);
     this.dtpChangePosition.Name = "dtpChangePosition";
     this.dtpChangePosition.Size = new System.Drawing.Size(96, 20);
     this.dtpChangePosition.TabIndex = 79;
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(312, 40);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(80, 23);
     this.label11.TabIndex = 77;
     this.label11.Text = "Ngày thay đổi";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lvwPositionHistory
     //
     this.lvwPositionHistory.AlternatingRowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(237)))), ((int)(((byte)(245)))));
     this.lvwPositionHistory.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lvwPositionHistory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(242)))), ((int)(((byte)(249)))));
     this.lvwPositionHistory.ColumnModel = this.cmPosition;
     this.lvwPositionHistory.ContextMenu = this.ctxPosition;
     this.lvwPositionHistory.EnableToolTips = true;
     this.lvwPositionHistory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     this.lvwPositionHistory.FullRowSelect = true;
     this.lvwPositionHistory.GridColor = System.Drawing.SystemColors.ControlDark;
     this.lvwPositionHistory.GridLines = XPTable.Models.GridLines.Both;
     this.lvwPositionHistory.GridLineStyle = XPTable.Models.GridLineStyle.Dot;
     this.lvwPositionHistory.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lvwPositionHistory.Location = new System.Drawing.Point(8, 64);
     this.lvwPositionHistory.Name = "lvwPositionHistory";
     this.lvwPositionHistory.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(183)))), ((int)(((byte)(201)))));
     this.lvwPositionHistory.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     this.lvwPositionHistory.SelectionStyle = XPTable.Models.SelectionStyle.Grid;
     this.lvwPositionHistory.Size = new System.Drawing.Size(612, 96);
     this.lvwPositionHistory.SortedColumnBackColor = System.Drawing.Color.Transparent;
     this.lvwPositionHistory.TabIndex = 76;
     this.lvwPositionHistory.TableModel = this.tmPosition;
     this.lvwPositionHistory.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(221)))));
     this.lvwPositionHistory.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     //
     // cmPosition
     //
     this.cmPosition.Columns.AddRange(new XPTable.Models.Column[] {
     this.cSTT,
     this.cPositionName,
     this.cModifiedDate,
     this.cDecisionNumber,
     this.cNote});
     //
     // cPositionName
     //
     this.cPositionName.Text = "Tên chức vụ";
     this.cPositionName.Width = 140;
     //
     // ctxPosition
     //
     this.ctxPosition.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.mnuEditPositionHistory,
     this.mnuDeletePositionHistory});
     //
     // mnuEditPositionHistory
     //
     this.mnuEditPositionHistory.Index = 0;
     this.mnuEditPositionHistory.Text = "&Sửa...";
     this.mnuEditPositionHistory.Click += new System.EventHandler(this.mnuEditPositionHistory_Click);
     //
     // mnuDeletePositionHistory
     //
     this.mnuDeletePositionHistory.Index = 1;
     this.mnuDeletePositionHistory.Text = "&Xóa...";
     this.mnuDeletePositionHistory.Click += new System.EventHandler(this.mnuDeletePositionHistory_Click);
     //
     // btnChangePosition
     //
     this.btnChangePosition.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnChangePosition.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnChangePosition.Location = new System.Drawing.Point(524, 24);
     this.btnChangePosition.Name = "btnChangePosition";
     this.btnChangePosition.Size = new System.Drawing.Size(96, 24);
     this.btnChangePosition.TabIndex = 39;
     this.btnChangePosition.Text = "Chuyển chức vụ";
     this.btnChangePosition.Click += new System.EventHandler(this.btnChangePosition_Click);
     this.btnChangePosition.EnabledChanged += new System.EventHandler(this.btnChangePosition_EnabledChanged);
     //
     // cboPosition
     //
     this.cboPosition.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D;
     this.cboPosition.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
     this.cboPosition.ColumnNum = 2;
     this.cboPosition.ColumnWidth = "0;220";
     this.cboPosition.DisplayMember = "Text";
     this.cboPosition.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cboPosition.DropDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(210)))), ((int)(((byte)(238)))));
     this.cboPosition.DropDownForeColor = System.Drawing.Color.Black;
     this.cboPosition.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList;
     this.cboPosition.DropDownWidth = 240;
     this.cboPosition.GridLineColor = System.Drawing.Color.LightGray;
     this.cboPosition.GridLineHorizontal = true;
     this.cboPosition.GridLineVertical = false;
     this.cboPosition.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem;
     this.cboPosition.Location = new System.Drawing.Point(96, 16);
     this.cboPosition.ManagingFastMouseMoving = true;
     this.cboPosition.ManagingFastMouseMovingInterval = 30;
     this.cboPosition.Name = "cboPosition";
     this.cboPosition.Size = new System.Drawing.Size(200, 21);
     this.cboPosition.TabIndex = 35;
     //
     // txtPositionNote
     //
     this.txtPositionNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPositionNote.Enabled = false;
     this.txtPositionNote.Location = new System.Drawing.Point(96, 40);
     this.txtPositionNote.Name = "txtPositionNote";
     this.txtPositionNote.Size = new System.Drawing.Size(212, 20);
     this.txtPositionNote.TabIndex = 37;
     //
     // lblPositionNote
     //
     this.lblPositionNote.Location = new System.Drawing.Point(8, 40);
     this.lblPositionNote.Name = "lblPositionNote";
     this.lblPositionNote.Size = new System.Drawing.Size(88, 23);
     this.lblPositionNote.TabIndex = 72;
     this.lblPositionNote.Text = "Ghi chú";
     this.lblPositionNote.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblPositionDN
     //
     this.lblPositionDN.Location = new System.Drawing.Point(312, 16);
     this.lblPositionDN.Name = "lblPositionDN";
     this.lblPositionDN.Size = new System.Drawing.Size(80, 23);
     this.lblPositionDN.TabIndex = 70;
     this.lblPositionDN.Text = "Quyết định số";
     this.lblPositionDN.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblPositionName
     //
     this.lblPositionName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblPositionName.Location = new System.Drawing.Point(8, 16);
     this.lblPositionName.Name = "lblPositionName";
     this.lblPositionName.Size = new System.Drawing.Size(88, 24);
     this.lblPositionName.TabIndex = 66;
     this.lblPositionName.Text = "Chức vụ";
     this.lblPositionName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtPositionDN
     //
     this.txtPositionDN.Enabled = false;
     this.txtPositionDN.Location = new System.Drawing.Point(408, 16);
     this.txtPositionDN.Name = "txtPositionDN";
     this.txtPositionDN.Size = new System.Drawing.Size(96, 20);
     this.txtPositionDN.TabIndex = 36;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.dtpDepartment);
     this.groupBox2.Controls.Add(this.label12);
     this.groupBox2.Controls.Add(this.txtDepartmentDN);
     this.groupBox2.Controls.Add(this.btnChangeDepartment);
     this.groupBox2.Controls.Add(this.cboDepartment);
     this.groupBox2.Controls.Add(this.txtDepartmentNote);
     this.groupBox2.Controls.Add(this.lblDepartmentNote);
     this.groupBox2.Controls.Add(this.lblDepartmentDN);
     this.groupBox2.Controls.Add(this.lblDepartmentName);
     this.groupBox2.Controls.Add(this.lvwDepartmentHistory);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.groupBox2.Location = new System.Drawing.Point(8, 8);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(628, 364);
     this.groupBox2.TabIndex = 12;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Chuyển đổi bộ phận";
     //
     // dtpDepartment
     //
     this.dtpDepartment.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.dtpDepartment.CustomFormat = "dd/MM/yyyy";
     this.dtpDepartment.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpDepartment.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpDepartment.Location = new System.Drawing.Point(408, 17);
     this.dtpDepartment.Name = "dtpDepartment";
     this.dtpDepartment.Size = new System.Drawing.Size(96, 20);
     this.dtpDepartment.TabIndex = 81;
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(322, 14);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(80, 23);
     this.label12.TabIndex = 80;
     this.label12.Text = "Ngày chuyển";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtDepartmentDN
     //
     this.txtDepartmentDN.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.txtDepartmentDN.Enabled = false;
     this.txtDepartmentDN.Location = new System.Drawing.Point(408, 40);
     this.txtDepartmentDN.Name = "txtDepartmentDN";
     this.txtDepartmentDN.Size = new System.Drawing.Size(96, 20);
     this.txtDepartmentDN.TabIndex = 33;
     //
     // btnChangeDepartment
     //
     this.btnChangeDepartment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnChangeDepartment.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnChangeDepartment.Location = new System.Drawing.Point(524, 24);
     this.btnChangeDepartment.Name = "btnChangeDepartment";
     this.btnChangeDepartment.Size = new System.Drawing.Size(96, 24);
     this.btnChangeDepartment.TabIndex = 38;
     this.btnChangeDepartment.Text = "Chuyển công tác";
     this.btnChangeDepartment.Click += new System.EventHandler(this.btnChangeDepartment_Click);
     this.btnChangeDepartment.EnabledChanged += new System.EventHandler(this.btnChangeDepartment_EnabledChanged);
     //
     // cboDepartment
     //
     this.cboDepartment.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D;
     this.cboDepartment.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
     this.cboDepartment.ColumnNum = 2;
     this.cboDepartment.ColumnWidth = "0;220";
     this.cboDepartment.DisplayMember = "Text";
     this.cboDepartment.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cboDepartment.DropDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(210)))), ((int)(((byte)(238)))));
     this.cboDepartment.DropDownForeColor = System.Drawing.Color.Black;
     this.cboDepartment.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList;
     this.cboDepartment.DropDownWidth = 240;
     this.cboDepartment.GridLineColor = System.Drawing.Color.LightGray;
     this.cboDepartment.GridLineHorizontal = true;
     this.cboDepartment.GridLineVertical = false;
     this.cboDepartment.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem;
     this.cboDepartment.Location = new System.Drawing.Point(88, 16);
     this.cboDepartment.ManagingFastMouseMoving = true;
     this.cboDepartment.ManagingFastMouseMovingInterval = 30;
     this.cboDepartment.Name = "cboDepartment";
     this.cboDepartment.Size = new System.Drawing.Size(192, 21);
     this.cboDepartment.TabIndex = 32;
     //
     // txtDepartmentNote
     //
     this.txtDepartmentNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDepartmentNote.Enabled = false;
     this.txtDepartmentNote.Location = new System.Drawing.Point(88, 40);
     this.txtDepartmentNote.Name = "txtDepartmentNote";
     this.txtDepartmentNote.Size = new System.Drawing.Size(204, 20);
     this.txtDepartmentNote.TabIndex = 34;
     //
     // lblDepartmentNote
     //
     this.lblDepartmentNote.Location = new System.Drawing.Point(8, 40);
     this.lblDepartmentNote.Name = "lblDepartmentNote";
     this.lblDepartmentNote.Size = new System.Drawing.Size(80, 23);
     this.lblDepartmentNote.TabIndex = 68;
     this.lblDepartmentNote.Text = "Ghi chú";
     this.lblDepartmentNote.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblDepartmentDN
     //
     this.lblDepartmentDN.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.lblDepartmentDN.Location = new System.Drawing.Point(322, 37);
     this.lblDepartmentDN.Name = "lblDepartmentDN";
     this.lblDepartmentDN.Size = new System.Drawing.Size(80, 23);
     this.lblDepartmentDN.TabIndex = 66;
     this.lblDepartmentDN.Text = "Quyết định số";
     this.lblDepartmentDN.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblDepartmentName
     //
     this.lblDepartmentName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.lblDepartmentName.Location = new System.Drawing.Point(8, 16);
     this.lblDepartmentName.Name = "lblDepartmentName";
     this.lblDepartmentName.Size = new System.Drawing.Size(80, 24);
     this.lblDepartmentName.TabIndex = 65;
     this.lblDepartmentName.Text = "Bộ phận";
     this.lblDepartmentName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lvwDepartmentHistory
     //
     this.lvwDepartmentHistory.AlternatingRowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(237)))), ((int)(((byte)(245)))));
     this.lvwDepartmentHistory.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lvwDepartmentHistory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(242)))), ((int)(((byte)(249)))));
     this.lvwDepartmentHistory.ColumnModel = this.cmDepartment;
     this.lvwDepartmentHistory.ContextMenu = this.ctxDepartment;
     this.lvwDepartmentHistory.EnableToolTips = true;
     this.lvwDepartmentHistory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     this.lvwDepartmentHistory.FullRowSelect = true;
     this.lvwDepartmentHistory.GridColor = System.Drawing.SystemColors.ControlDark;
     this.lvwDepartmentHistory.GridLines = XPTable.Models.GridLines.Both;
     this.lvwDepartmentHistory.GridLineStyle = XPTable.Models.GridLineStyle.Dot;
     this.lvwDepartmentHistory.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lvwDepartmentHistory.Location = new System.Drawing.Point(8, 64);
     this.lvwDepartmentHistory.Name = "lvwDepartmentHistory";
     this.lvwDepartmentHistory.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(183)))), ((int)(((byte)(201)))));
     this.lvwDepartmentHistory.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     this.lvwDepartmentHistory.SelectionStyle = XPTable.Models.SelectionStyle.Grid;
     this.lvwDepartmentHistory.Size = new System.Drawing.Size(612, 292);
     this.lvwDepartmentHistory.SortedColumnBackColor = System.Drawing.Color.Transparent;
     this.lvwDepartmentHistory.TabIndex = 12;
     this.lvwDepartmentHistory.TableModel = this.tmDepartment;
     this.lvwDepartmentHistory.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(221)))));
     this.lvwDepartmentHistory.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121)))));
     //
     // cmDepartment
     //
     this.cmDepartment.Columns.AddRange(new XPTable.Models.Column[] {
     this.chSTT,
     this.chDepartmentName,
     this.chModifiedDate,
     this.chDecisionNumber,
     this.chNote});
     //
     // chSTT
     //
     this.chSTT.Editable = false;
     this.chSTT.Text = "STT";
     this.chSTT.Width = 50;
     //
     // chDepartmentName
     //
     this.chDepartmentName.Editable = false;
     this.chDepartmentName.Text = "Tên bộ phận";
     this.chDepartmentName.Width = 140;
     //
     // chModifiedDate
     //
     this.chModifiedDate.Editable = false;
     this.chModifiedDate.Text = "Ngày thay đổi";
     this.chModifiedDate.Width = 95;
     //
     // chDecisionNumber
     //
     this.chDecisionNumber.Editable = false;
     this.chDecisionNumber.Text = "Quyết định số";
     this.chDecisionNumber.Width = 100;
     //
     // chNote
     //
     this.chNote.Editable = false;
     this.chNote.Text = "Ghi chú";
     this.chNote.Width = 170;
     //
     // ctxDepartment
     //
     this.ctxDepartment.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.mnuEditDepartmentHistory,
     this.mnuDeleteDepartmentHistory});
     //
     // mnuEditDepartmentHistory
     //
     this.mnuEditDepartmentHistory.Index = 0;
     this.mnuEditDepartmentHistory.Text = "&Sửa...";
     this.mnuEditDepartmentHistory.Click += new System.EventHandler(this.mnuEditDepartmentHistory_Click);
     //
     // mnuDeleteDepartmentHistory
     //
     this.mnuDeleteDepartmentHistory.Index = 1;
     this.mnuDeleteDepartmentHistory.Text = "&Xóa...";
     this.mnuDeleteDepartmentHistory.Click += new System.EventHandler(this.mnuDeleteDepartmentHistory_Click);
     //
     // tpOtherInfo
     //
     this.tpOtherInfo.Controls.Add(this.dtpStopDate);
     this.tpOtherInfo.Controls.Add(this.label10);
     this.tpOtherInfo.Controls.Add(this.cbHospital);
     this.tpOtherInfo.Controls.Add(this.label7);
     this.tpOtherInfo.Controls.Add(this.txtNote);
     this.tpOtherInfo.Location = new System.Drawing.Point(4, 22);
     this.tpOtherInfo.Name = "tpOtherInfo";
     this.tpOtherInfo.Size = new System.Drawing.Size(636, 552);
     this.tpOtherInfo.TabIndex = 3;
     this.tpOtherInfo.Text = "Thông tin khác";
     //
     // dtpStopDate
     //
     this.dtpStopDate.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.dtpStopDate.CustomFormat = "dd/MM/yyyy";
     this.dtpStopDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.dtpStopDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpStopDate.Location = new System.Drawing.Point(220, 36);
     this.dtpStopDate.Name = "dtpStopDate";
     this.dtpStopDate.Size = new System.Drawing.Size(104, 20);
     this.dtpStopDate.TabIndex = 39;
     //
     // label10
     //
     this.label10.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label10.Location = new System.Drawing.Point(8, 36);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(191, 24);
     this.label10.TabIndex = 40;
     this.label10.Text = "Ngày thôi việc";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cbHospital
     //
     this.cbHospital.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D;
     this.cbHospital.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
     this.cbHospital.ColumnNum = 2;
     this.cbHospital.ColumnWidth = "0;220";
     this.cbHospital.DisplayMember = "Text";
     this.cbHospital.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cbHospital.DropDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(210)))), ((int)(((byte)(238)))));
     this.cbHospital.DropDownForeColor = System.Drawing.Color.Black;
     this.cbHospital.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList;
     this.cbHospital.DropDownWidth = 240;
     this.cbHospital.GridLineColor = System.Drawing.Color.LightGray;
     this.cbHospital.GridLineHorizontal = true;
     this.cbHospital.GridLineVertical = false;
     this.cbHospital.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem;
     this.cbHospital.Location = new System.Drawing.Point(220, 10);
     this.cbHospital.ManagingFastMouseMoving = true;
     this.cbHospital.ManagingFastMouseMovingInterval = 30;
     this.cbHospital.Name = "cbHospital";
     this.cbHospital.Size = new System.Drawing.Size(200, 21);
     this.cbHospital.TabIndex = 35;
     //
     // label7
     //
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label7.Location = new System.Drawing.Point(8, 10);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(194, 21);
     this.label7.TabIndex = 31;
     this.label7.Text = "Nơi đăng ký khám chữa bệnh ban đầu";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtNote
     //
     this.txtNote.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNote.Location = new System.Drawing.Point(8, 62);
     this.txtNote.Multiline = true;
     this.txtNote.Name = "txtNote";
     this.txtNote.Size = new System.Drawing.Size(620, 483);
     this.txtNote.TabIndex = 0;
     //
     // btnClose
     //
     this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.btnClose.Location = new System.Drawing.Point(564, 8);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(72, 23);
     this.btnClose.TabIndex = 31;
     this.btnClose.Text = "&Đóng";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // pnButtons
     //
     this.pnButtons.Controls.Add(this.btnCancel);
     this.pnButtons.Controls.Add(this.txtRecordNum);
     this.pnButtons.Controls.Add(this.btnLast);
     this.pnButtons.Controls.Add(this.btnNext);
     this.pnButtons.Controls.Add(this.btnPrevious);
     this.pnButtons.Controls.Add(this.btnFirst);
     this.pnButtons.Controls.Add(this.btnClose);
     this.pnButtons.Controls.Add(this.btnSave);
     this.pnButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.pnButtons.Location = new System.Drawing.Point(0, 576);
     this.pnButtons.Name = "pnButtons";
     this.pnButtons.Size = new System.Drawing.Size(644, 40);
     this.pnButtons.TabIndex = 4;
     //
     // btnCancel
     //
     this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.btnCancel.Location = new System.Drawing.Point(492, 8);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(72, 23);
     this.btnCancel.TabIndex = 27;
     this.btnCancel.Text = "&Bỏ qua";
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // txtRecordNum
     //
     this.txtRecordNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtRecordNum.Location = new System.Drawing.Point(56, 8);
     this.txtRecordNum.Name = "txtRecordNum";
     this.txtRecordNum.ReadOnly = true;
     this.txtRecordNum.Size = new System.Drawing.Size(48, 20);
     this.txtRecordNum.TabIndex = 36;
     this.txtRecordNum.Text = "3/26";
     this.txtRecordNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // btnLast
     //
     this.btnLast.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnLast.ImageIndex = 5;
     this.btnLast.ImageList = this.imageList1;
     this.btnLast.Location = new System.Drawing.Point(128, 8);
     this.btnLast.Name = "btnLast";
     this.btnLast.Size = new System.Drawing.Size(24, 23);
     this.btnLast.TabIndex = 35;
     this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
     //
     // btnNext
     //
     this.btnNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnNext.ImageIndex = 4;
     this.btnNext.ImageList = this.imageList1;
     this.btnNext.Location = new System.Drawing.Point(104, 8);
     this.btnNext.Name = "btnNext";
     this.btnNext.Size = new System.Drawing.Size(24, 23);
     this.btnNext.TabIndex = 34;
     this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
     //
     // btnPrevious
     //
     this.btnPrevious.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnPrevious.ImageIndex = 3;
     this.btnPrevious.ImageList = this.imageList1;
     this.btnPrevious.Location = new System.Drawing.Point(32, 8);
     this.btnPrevious.Name = "btnPrevious";
     this.btnPrevious.Size = new System.Drawing.Size(24, 23);
     this.btnPrevious.TabIndex = 33;
     this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
     //
     // btnFirst
     //
     this.btnFirst.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnFirst.ImageIndex = 2;
     this.btnFirst.ImageList = this.imageList1;
     this.btnFirst.Location = new System.Drawing.Point(8, 8);
     this.btnFirst.Name = "btnFirst";
     this.btnFirst.Size = new System.Drawing.Size(24, 23);
     this.btnFirst.TabIndex = 32;
     this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
     //
     // btnSave
     //
     this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.btnSave.Location = new System.Drawing.Point(420, 8);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(72, 23);
     this.btnSave.TabIndex = 35;
     this.btnSave.Text = "&Đồng ý";
     this.btnSave.Click += new System.EventHandler(this.btnOK_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // frmEmployee
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.btnCancel;
     this.ClientSize = new System.Drawing.Size(644, 616);
     this.Controls.Add(this.pnProfile);
     this.Controls.Add(this.pnButtons);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "frmEmployee";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Hồ sơ nhân viên";
     this.Load += new System.EventHandler(this.frmEmployee_Load);
     this.pnProfile.ResumeLayout(false);
     this.tabEmployeeProfile.ResumeLayout(false);
     this.tpGeneralInfo.ResumeLayout(false);
     this.grbProfessional.ResumeLayout(false);
     this.grbProfessional.PerformLayout();
     this.grbEmployeeProfile.ResumeLayout(false);
     this.grbEmployeeProfile.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.picEmployee)).EndInit();
     this.tpSalary.ResumeLayout(false);
     this.grbAllowance.ResumeLayout(false);
     this.grbAllowance.PerformLayout();
     this.grbBasicSalary.ResumeLayout(false);
     this.grbBasicSalary.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwSalaryHistory)).EndInit();
     this.grbHiringInfo.ResumeLayout(false);
     this.grbHiringInfo.PerformLayout();
     this.tpDepartment.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwPositionHistory)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwDepartmentHistory)).EndInit();
     this.tpOtherInfo.ResumeLayout(false);
     this.tpOtherInfo.PerformLayout();
     this.pnButtons.ResumeLayout(false);
     this.pnButtons.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.ResumeLayout(false);
 }