/// <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(frmLunch)); this.btnClose = new System.Windows.Forms.Button(); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.chSTT = new XPTable.Models.NumberColumn(); this.chDepartmentName = new XPTable.Models.TextColumn(); this.chCardID = new XPTable.Models.TextColumn(); this.chEmployeeName = new XPTable.Models.TextColumn(); this.chLunchMoney = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.btnSet = new System.Windows.Forms.Button(); this.dtpWorkingDay = new System.Windows.Forms.DateTimePicker(); this.cboLunchMoney = new System.Windows.Forms.LookupComboBox(); this.btnSlectAll = new System.Windows.Forms.Button(); this.btnClearAll = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblLunchMoney = new System.Windows.Forms.Label(); this.lblHaveLunch = new System.Windows.Forms.Label(); this.lblTotalEmployee = new System.Windows.Forms.Label(); this.lvwLunch = new XPTable.Models.Table(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.mnuSet = new System.Windows.Forms.MenuItem(); this.menuXoa = new System.Windows.Forms.MenuItem(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.btn_LoadPrevious = new System.Windows.Forms.Button(); this.btnSearch = new System.Windows.Forms.Button(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btImportEmployeeToLunch = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.bntXoa = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lvwLunch)).BeginInit(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // 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.Location = new System.Drawing.Point(716, 480); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 5; this.btnClose.Text = "&Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // departmentTreeView // this.departmentTreeView.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.departmentTreeView.BackColor = System.Drawing.Color.GhostWhite; this.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.ImageIndex = 0; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.SelectedImageIndex = 0; this.departmentTreeView.Size = new System.Drawing.Size(200, 384); this.departmentTreeView.TabIndex = 3; this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.chSTT, this.chDepartmentName, this.chCardID, this.chEmployeeName, this.chLunchMoney}); // // chSTT // this.chSTT.Editable = false; this.chSTT.Text = "STT"; this.chSTT.Width = 40; // // chDepartmentName // this.chDepartmentName.Editable = false; this.chDepartmentName.Text = "Bộ phận"; this.chDepartmentName.Width = 100; // // chCardID // this.chCardID.Editable = false; this.chCardID.Text = "Mã thẻ"; this.chCardID.Width = 60; // // chEmployeeName // this.chEmployeeName.Editable = false; this.chEmployeeName.Text = "Tên nhân viên"; this.chEmployeeName.Width = 130; // // chLunchMoney // this.chLunchMoney.Editable = false; this.chLunchMoney.Text = "Mức ăn trưa"; this.chLunchMoney.Width = 110; // // btnSet // this.btnSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSet.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSet.Location = new System.Drawing.Point(473, 480); this.btnSet.Name = "btnSet"; this.btnSet.Size = new System.Drawing.Size(75, 23); this.btnSet.TabIndex = 2; this.btnSet.Text = "&Thiết lập"; this.btnSet.Click += new System.EventHandler(this.btnSetLunch_Click); // // dtpWorkingDay // this.dtpWorkingDay.CustomFormat = "dd/MM/yyyy "; this.dtpWorkingDay.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpWorkingDay.Location = new System.Drawing.Point(8, 16); this.dtpWorkingDay.Name = "dtpWorkingDay"; this.dtpWorkingDay.Size = new System.Drawing.Size(200, 20); this.dtpWorkingDay.TabIndex = 74; this.dtpWorkingDay.ValueChanged += new System.EventHandler(this.dtpWorkingDay_ValueChanged); // // cboLunchMoney // this.cboLunchMoney.AllowTypeAllSymbols = true; this.cboLunchMoney.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cboLunchMoney.Items.AddRange(new object[] { "Chưa thiết lập", "15000", "16000", "25000"}); this.cboLunchMoney.Location = new System.Drawing.Point(8, 16); this.cboLunchMoney.Name = "cboLunchMoney"; this.cboLunchMoney.Size = new System.Drawing.Size(548, 21); this.cboLunchMoney.TabIndex = 76; // // btnSlectAll // this.btnSlectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSlectAll.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSlectAll.Location = new System.Drawing.Point(8, 376); this.btnSlectAll.Name = "btnSlectAll"; this.btnSlectAll.Size = new System.Drawing.Size(75, 23); this.btnSlectAll.TabIndex = 5; this.btnSlectAll.Text = "Chọn tất"; this.btnSlectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // btnClearAll // this.btnClearAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnClearAll.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClearAll.Location = new System.Drawing.Point(88, 377); this.btnClearAll.Name = "btnClearAll"; this.btnClearAll.Size = new System.Drawing.Size(75, 23); this.btnClearAll.TabIndex = 6; this.btnClearAll.Text = "Bỏ chọn"; this.btnClearAll.Click += new System.EventHandler(this.btnClearAll_Click); // // groupBox1 // this.groupBox1.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.groupBox1.Controls.Add(this.lblLunchMoney); this.groupBox1.Controls.Add(this.lblHaveLunch); this.groupBox1.Controls.Add(this.lblTotalEmployee); this.groupBox1.Controls.Add(this.btnSlectAll); this.groupBox1.Controls.Add(this.btnClearAll); this.groupBox1.Controls.Add(this.lvwLunch); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(232, 64); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(564, 408); this.groupBox1.TabIndex = 79; this.groupBox1.TabStop = false; this.groupBox1.Text = "Danh sách đăng ký ăn trưa"; // // lblLunchMoney // this.lblLunchMoney.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblLunchMoney.Location = new System.Drawing.Point(448, 376); this.lblLunchMoney.Name = "lblLunchMoney"; this.lblLunchMoney.Size = new System.Drawing.Size(104, 23); this.lblLunchMoney.TabIndex = 81; this.lblLunchMoney.Text = "Số tiền: 0"; this.lblLunchMoney.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblHaveLunch // this.lblHaveLunch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblHaveLunch.Location = new System.Drawing.Point(344, 376); this.lblHaveLunch.Name = "lblHaveLunch"; this.lblHaveLunch.Size = new System.Drawing.Size(104, 23); this.lblHaveLunch.TabIndex = 80; this.lblHaveLunch.Text = "Số ăn trưa: 0"; this.lblHaveLunch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblTotalEmployee // this.lblTotalEmployee.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotalEmployee.Location = new System.Drawing.Point(208, 376); this.lblTotalEmployee.Name = "lblTotalEmployee"; this.lblTotalEmployee.Size = new System.Drawing.Size(128, 23); this.lblTotalEmployee.TabIndex = 79; this.lblTotalEmployee.Text = "Số nhân viên: 0"; this.lblTotalEmployee.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lvwLunch // this.lvwLunch.AlternatingRowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(237)))), ((int)(((byte)(245))))); this.lvwLunch.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.lvwLunch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(242)))), ((int)(((byte)(249))))); this.lvwLunch.ColumnModel = this.columnModel1; this.lvwLunch.ContextMenu = this.contextMenu1; this.lvwLunch.EnableToolTips = true; this.lvwLunch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121))))); this.lvwLunch.FullRowSelect = true; this.lvwLunch.GridColor = System.Drawing.SystemColors.ControlDark; this.lvwLunch.GridLines = XPTable.Models.GridLines.Both; this.lvwLunch.GridLineStyle = XPTable.Models.GridLineStyle.Dot; this.lvwLunch.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lvwLunch.Location = new System.Drawing.Point(8, 16); this.lvwLunch.MultiSelect = true; this.lvwLunch.Name = "lvwLunch"; this.lvwLunch.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(183)))), ((int)(((byte)(201))))); this.lvwLunch.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121))))); this.lvwLunch.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.lvwLunch.Size = new System.Drawing.Size(544, 352); this.lvwLunch.SortedColumnBackColor = System.Drawing.Color.Transparent; this.lvwLunch.TabIndex = 11; this.lvwLunch.TableModel = this.tableModel1; this.lvwLunch.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(221))))); this.lvwLunch.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121))))); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuSet, this.menuXoa}); // // mnuSet // this.mnuSet.Index = 0; this.mnuSet.Text = "&Thiết lập..."; this.mnuSet.Click += new System.EventHandler(this.btnSetLunch_Click); // // menuXoa // this.menuXoa.Index = 1; this.menuXoa.Text = "&Xóa thiết lập"; this.menuXoa.Click += new System.EventHandler(this.bntXoa_Click); // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.departmentTreeView); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(8, 64); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(216, 408); this.groupBox2.TabIndex = 80; this.groupBox2.TabStop = false; this.groupBox2.Text = "Danh sách phòng ban"; // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox3.Controls.Add(this.cboLunchMoney); this.groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox3.Location = new System.Drawing.Point(232, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(564, 48); this.groupBox3.TabIndex = 81; this.groupBox3.TabStop = false; this.groupBox3.Text = "Mức ăn trưa"; // // groupBox4 // this.groupBox4.Controls.Add(this.dtpWorkingDay); this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox4.Location = new System.Drawing.Point(8, 8); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(216, 48); this.groupBox4.TabIndex = 82; this.groupBox4.TabStop = false; this.groupBox4.Text = "Ngày"; // // btn_LoadPrevious // this.btn_LoadPrevious.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btn_LoadPrevious.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btn_LoadPrevious.Location = new System.Drawing.Point(635, 480); this.btn_LoadPrevious.Name = "btn_LoadPrevious"; this.btn_LoadPrevious.Size = new System.Drawing.Size(75, 23); this.btn_LoadPrevious.TabIndex = 4; this.btn_LoadPrevious.Text = "&Sao chép ..."; this.btn_LoadPrevious.Click += new System.EventHandler(this.CopyFromPreviousLunch_Click); // // btnSearch // this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSearch.Location = new System.Drawing.Point(142, 481); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(74, 23); this.btnSearch.TabIndex = 0; this.btnSearch.Text = "&Tìm kiếm"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtSearch // this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.txtSearch.Location = new System.Drawing.Point(8, 481); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(128, 20); this.txtSearch.TabIndex = 0; this.txtSearch.Text = "Nhập chuỗi tìm kiếm"; this.txtSearch.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtSearch_MouseDown); this.txtSearch.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSearch_KeyPress); // // btImportEmployeeToLunch // this.btImportEmployeeToLunch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btImportEmployeeToLunch.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btImportEmployeeToLunch.Location = new System.Drawing.Point(554, 480); this.btImportEmployeeToLunch.Name = "btImportEmployeeToLunch"; this.btImportEmployeeToLunch.Size = new System.Drawing.Size(75, 23); this.btImportEmployeeToLunch.TabIndex = 3; this.btImportEmployeeToLunch.Text = "&Import..."; this.btImportEmployeeToLunch.Click += new System.EventHandler(this.btImportEmployeeToLunch_Click); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button1.Location = new System.Drawing.Point(280, 480); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(106, 23); this.button1.TabIndex = 0; this.button1.Text = "&Tự Động Thiết Lập..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // bntXoa // this.bntXoa.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bntXoa.Enabled = false; this.bntXoa.Location = new System.Drawing.Point(392, 480); this.bntXoa.Name = "bntXoa"; this.bntXoa.Size = new System.Drawing.Size(75, 23); this.bntXoa.TabIndex = 1; this.bntXoa.Text = "Xóa thiết lập"; this.bntXoa.UseVisualStyleBackColor = true; this.bntXoa.Click += new System.EventHandler(this.bntXoa_Click); // // frmLunch // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(804, 510); this.Controls.Add(this.bntXoa); this.Controls.Add(this.button1); this.Controls.Add(this.btnSearch); this.Controls.Add(this.txtSearch); this.Controls.Add(this.btn_LoadPrevious); this.Controls.Add(this.groupBox4); this.Controls.Add(this.btnSet); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btnClose); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btImportEmployeeToLunch); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmLunch"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Thiết lập ăn trưa"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmLunch_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lvwLunch)).EndInit(); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ResourceManager resources = new ResourceManager(typeof (frmSalary)); this.txtPhuCapAT = new TextBox(); this.label4 = new Label(); this.txtPhuCapDH = new TextBox(); this.label3 = new Label(); this.txtPhuCapTN = new TextBox(); this.label1 = new Label(); this.grbNgayCong = new GroupBox(); this.groupBox1 = new GroupBox(); this.txtNgayNghi = new TextBox(); this.txtTienLamThem = new TextBox(); this.txtNgayThuong = new TextBox(); this.label5 = new Label(); this.label25 = new Label(); this.label24 = new Label(); this.groupBox2 = new GroupBox(); this.txtNgoaiRa = new TextBox(); this.label13 = new Label(); this.txtThueTNCN = new TextBox(); this.label12 = new Label(); this.txtBaoHiem = new TextBox(); this.label11 = new Label(); this.departmentTreeView = new DepartmentTreeView(); this.cboEmployeeName = new ComboBox(); this.txtMucLuong = new TextBox(); this.lblSalary = new Label(); this.lblEmployeeName = new Label(); this.textBox7 = new TextBox(); this.label23 = new Label(); this.grbThongTinChung = new GroupBox(); this.btnCancel = new Button(); this.txtRecordNum = new TextBox(); this.btnLast = new Button(); this.btnNext = new Button(); this.btnPrevious = new Button(); this.btnFirst = new Button(); this.btnClose = new Button(); this.btnSave = new Button(); this.imageList1 = new ImageList(this.components); this.groupBox3 = new GroupBox(); this.textBox1 = new TextBox(); this.textBox2 = new TextBox(); this.label2 = new Label(); this.label6 = new Label(); this.grbNgayCong.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.grbThongTinChung.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // txtPhuCapAT // this.txtPhuCapAT.Location = new Point(104, 16); this.txtPhuCapAT.Name = "txtPhuCapAT"; this.txtPhuCapAT.Size = new Size(72, 20); this.txtPhuCapAT.TabIndex = 9; this.txtPhuCapAT.Text = ""; // // label4 // this.label4.Location = new Point(8, 16); this.label4.Name = "label4"; this.label4.Size = new Size(96, 20); this.label4.TabIndex = 8; this.label4.Text = "PC tiền ăn"; this.label4.TextAlign = ContentAlignment.MiddleLeft; // // txtPhuCapDH // this.txtPhuCapDH.Location = new Point(104, 64); this.txtPhuCapDH.Name = "txtPhuCapDH"; this.txtPhuCapDH.Size = new Size(72, 20); this.txtPhuCapDH.TabIndex = 7; this.txtPhuCapDH.Text = ""; // // label3 // this.label3.Location = new Point(8, 64); this.label3.Name = "label3"; this.label3.Size = new Size(96, 20); this.label3.TabIndex = 6; this.label3.Text = "PC độc hại:"; this.label3.TextAlign = ContentAlignment.MiddleLeft; // // txtPhuCapTN // this.txtPhuCapTN.Location = new Point(104, 40); this.txtPhuCapTN.Name = "txtPhuCapTN"; this.txtPhuCapTN.Size = new Size(72, 20); this.txtPhuCapTN.TabIndex = 3; this.txtPhuCapTN.Text = ""; // // label1 // this.label1.Location = new Point(8, 40); this.label1.Name = "label1"; this.label1.Size = new Size(96, 20); this.label1.TabIndex = 2; this.label1.Text = "PC trách nhiệm"; this.label1.TextAlign = ContentAlignment.MiddleLeft; // // grbNgayCong // this.grbNgayCong.Controls.Add(this.txtPhuCapTN); this.grbNgayCong.Controls.Add(this.label3); this.grbNgayCong.Controls.Add(this.txtPhuCapDH); this.grbNgayCong.Controls.Add(this.label4); this.grbNgayCong.Controls.Add(this.txtPhuCapAT); this.grbNgayCong.Controls.Add(this.label1); this.grbNgayCong.Location = new Point(208, 112); this.grbNgayCong.Name = "grbNgayCong"; this.grbNgayCong.Size = new Size(184, 96); this.grbNgayCong.TabIndex = 1; this.grbNgayCong.TabStop = false; this.grbNgayCong.Text = "Phụ cấp"; // // groupBox1 // this.groupBox1.Controls.Add(this.textBox1); this.groupBox1.Controls.Add(this.textBox2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.txtNgayNghi); this.groupBox1.Controls.Add(this.txtTienLamThem); this.groupBox1.Controls.Add(this.txtNgayThuong); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label25); this.groupBox1.Controls.Add(this.label24); this.groupBox1.Location = new Point(400, 112); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(232, 96); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Làm thêm giờ"; // // txtNgayNghi // this.txtNgayNghi.Location = new Point(64, 40); this.txtNgayNghi.Name = "txtNgayNghi"; this.txtNgayNghi.Size = new Size(48, 20); this.txtNgayNghi.TabIndex = 37; this.txtNgayNghi.Text = ""; // // txtTienLamThem // this.txtTienLamThem.Location = new Point(96, 64); this.txtTienLamThem.Name = "txtTienLamThem"; this.txtTienLamThem.ReadOnly = true; this.txtTienLamThem.Size = new Size(128, 20); this.txtTienLamThem.TabIndex = 36; this.txtTienLamThem.Text = ""; // // txtNgayThuong // this.txtNgayThuong.Location = new Point(64, 16); this.txtNgayThuong.Name = "txtNgayThuong"; this.txtNgayThuong.Size = new Size(48, 20); this.txtNgayThuong.TabIndex = 34; this.txtNgayThuong.Text = ""; // // label5 // this.label5.Location = new Point(8, 64); this.label5.Name = "label5"; this.label5.Size = new Size(88, 23); this.label5.TabIndex = 32; this.label5.Text = "Cộng làm thêm"; this.label5.TextAlign = ContentAlignment.MiddleLeft; // // label25 // this.label25.Location = new Point(8, 38); this.label25.Name = "label25"; this.label25.Size = new Size(56, 23); this.label25.TabIndex = 29; this.label25.Text = "Hệ số 1.5"; this.label25.TextAlign = ContentAlignment.MiddleLeft; // // label24 // this.label24.Location = new Point(8, 16); this.label24.Name = "label24"; this.label24.Size = new Size(56, 23); this.label24.TabIndex = 28; this.label24.Text = "Hệ số 1"; this.label24.TextAlign = ContentAlignment.MiddleLeft; // // groupBox2 // this.groupBox2.Controls.Add(this.txtNgoaiRa); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.txtThueTNCN); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.txtBaoHiem); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Location = new Point(208, 256); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(432, 80); this.groupBox2.TabIndex = 12; this.groupBox2.TabStop = false; this.groupBox2.Text = "Các khoản khấu trừ"; // // txtNgoaiRa // this.txtNgoaiRa.Location = new Point(104, 40); this.txtNgoaiRa.Name = "txtNgoaiRa"; this.txtNgoaiRa.TabIndex = 17; this.txtNgoaiRa.Text = "0"; // // label13 // this.label13.Location = new Point(8, 40); this.label13.Name = "label13"; this.label13.Size = new Size(96, 20); this.label13.TabIndex = 16; this.label13.Text = "Ngoải ra"; this.label13.TextAlign = ContentAlignment.MiddleLeft; // // txtThueTNCN // this.txtThueTNCN.Location = new Point(304, 16); this.txtThueTNCN.Name = "txtThueTNCN"; this.txtThueTNCN.TabIndex = 15; this.txtThueTNCN.Text = ""; // // label12 // this.label12.Location = new Point(216, 16); this.label12.Name = "label12"; this.label12.Size = new Size(80, 20); this.label12.TabIndex = 14; this.label12.Text = "Thuế TNCN"; this.label12.TextAlign = ContentAlignment.MiddleLeft; // // txtBaoHiem // this.txtBaoHiem.Location = new Point(104, 16); this.txtBaoHiem.Name = "txtBaoHiem"; this.txtBaoHiem.TabIndex = 13; this.txtBaoHiem.Text = ""; // // label11 // this.label11.Location = new Point(8, 16); this.label11.Name = "label11"; this.label11.Size = new Size(96, 20); this.label11.TabIndex = 12; this.label11.Text = "BHYT + BHXH"; this.label11.TextAlign = ContentAlignment.MiddleLeft; // // departmentTreeView // this.departmentTreeView.Anchor = ((AnchorStyles) ((((AnchorStyles.Top | AnchorStyles.Bottom) | AnchorStyles.Left) | AnchorStyles.Right))); this.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.Location = new Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.Size = new Size(176, 322); this.departmentTreeView.TabIndex = 0; this.departmentTreeView.AfterSelect += new TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // cboEmployeeName // this.cboEmployeeName.ItemHeight = 13; this.cboEmployeeName.Location = new Point(104, 16); this.cboEmployeeName.Name = "cboEmployeeName"; this.cboEmployeeName.Size = new Size(304, 21); this.cboEmployeeName.TabIndex = 18; // // txtMucLuong // this.txtMucLuong.Location = new Point(104, 40); this.txtMucLuong.Name = "txtMucLuong"; this.txtMucLuong.TabIndex = 3; this.txtMucLuong.Text = ""; // // lblSalary // this.lblSalary.Location = new Point(8, 40); this.lblSalary.Name = "lblSalary"; this.lblSalary.Size = new Size(96, 20); this.lblSalary.TabIndex = 2; this.lblSalary.Text = "Lương cơ bản"; this.lblSalary.TextAlign = ContentAlignment.MiddleLeft; // // lblEmployeeName // this.lblEmployeeName.Location = new Point(8, 16); this.lblEmployeeName.Name = "lblEmployeeName"; this.lblEmployeeName.Size = new Size(96, 20); this.lblEmployeeName.TabIndex = 0; this.lblEmployeeName.Text = "Họ và tên"; this.lblEmployeeName.TextAlign = ContentAlignment.MiddleLeft; // // textBox7 // this.textBox7.Location = new Point(104, 64); this.textBox7.Name = "textBox7"; this.textBox7.TabIndex = 17; this.textBox7.Text = ""; // // label23 // this.label23.Location = new Point(8, 64); this.label23.Name = "label23"; this.label23.Size = new Size(96, 23); this.label23.TabIndex = 16; this.label23.Text = "Số ngày công"; this.label23.TextAlign = ContentAlignment.MiddleLeft; // // grbThongTinChung // this.grbThongTinChung.Controls.Add(this.cboEmployeeName); this.grbThongTinChung.Controls.Add(this.txtMucLuong); this.grbThongTinChung.Controls.Add(this.lblSalary); this.grbThongTinChung.Controls.Add(this.lblEmployeeName); this.grbThongTinChung.Controls.Add(this.textBox7); this.grbThongTinChung.Controls.Add(this.label23); this.grbThongTinChung.Location = new Point(208, 8); this.grbThongTinChung.Name = "grbThongTinChung"; this.grbThongTinChung.Size = new Size(416, 96); this.grbThongTinChung.TabIndex = 0; this.grbThongTinChung.TabStop = false; this.grbThongTinChung.Text = "Thông tin chung"; // // btnCancel // this.btnCancel.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Right))); this.btnCancel.FlatStyle = FlatStyle.System; this.btnCancel.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((Byte) (163))); this.btnCancel.Location = new Point(496, 368); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(72, 23); this.btnCancel.TabIndex = 45; this.btnCancel.Text = "&Bỏ qua"; // // txtRecordNum // this.txtRecordNum.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Left))); this.txtRecordNum.Location = new Point(56, 368); this.txtRecordNum.Name = "txtRecordNum"; this.txtRecordNum.ReadOnly = true; this.txtRecordNum.Size = new Size(48, 20); this.txtRecordNum.TabIndex = 44; this.txtRecordNum.Text = "3/26"; this.txtRecordNum.TextAlign = HorizontalAlignment.Center; // // btnLast // this.btnLast.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Left))); this.btnLast.ImageIndex = 3; this.btnLast.ImageList = this.imageList1; this.btnLast.Location = new Point(128, 368); this.btnLast.Name = "btnLast"; this.btnLast.Size = new Size(24, 23); this.btnLast.TabIndex = 43; // // btnNext // this.btnNext.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Left))); this.btnNext.ImageIndex = 2; this.btnNext.ImageList = this.imageList1; this.btnNext.Location = new Point(104, 368); this.btnNext.Name = "btnNext"; this.btnNext.Size = new Size(24, 23); this.btnNext.TabIndex = 42; // // btnPrevious // this.btnPrevious.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Left))); this.btnPrevious.ImageIndex = 1; this.btnPrevious.ImageList = this.imageList1; this.btnPrevious.Location = new Point(32, 368); this.btnPrevious.Name = "btnPrevious"; this.btnPrevious.Size = new Size(24, 23); this.btnPrevious.TabIndex = 41; // // btnFirst // this.btnFirst.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Left))); this.btnFirst.ImageIndex = 0; this.btnFirst.ImageList = this.imageList1; this.btnFirst.Location = new Point(8, 368); this.btnFirst.Name = "btnFirst"; this.btnFirst.Size = new Size(24, 23); this.btnFirst.TabIndex = 40; // // btnClose // this.btnClose.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Right))); this.btnClose.FlatStyle = FlatStyle.System; this.btnClose.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((Byte) (163))); this.btnClose.Location = new Point(568, 368); this.btnClose.Name = "btnClose"; this.btnClose.Size = new Size(72, 23); this.btnClose.TabIndex = 39; this.btnClose.Text = "&Đóng"; // // btnSave // this.btnSave.Anchor = ((AnchorStyles) ((AnchorStyles.Bottom | AnchorStyles.Right))); this.btnSave.FlatStyle = FlatStyle.System; this.btnSave.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((Byte) (163))); this.btnSave.Location = new Point(424, 368); this.btnSave.Name = "btnSave"; this.btnSave.Size = new Size(72, 23); this.btnSave.TabIndex = 38; this.btnSave.Text = "&Đồng ý"; // // imageList1 // this.imageList1.ImageSize = new Size(16, 16); this.imageList1.ImageStream = ((ImageListStreamer) (resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = Color.Transparent; // // groupBox3 // this.groupBox3.Anchor = ((AnchorStyles) (((AnchorStyles.Top | AnchorStyles.Bottom) | AnchorStyles.Left))); this.groupBox3.Controls.Add(this.departmentTreeView); this.groupBox3.Location = new Point(8, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new Size(192, 352); this.groupBox3.TabIndex = 46; this.groupBox3.TabStop = false; this.groupBox3.Text = "Danh sách bộ phận"; // // textBox1 // this.textBox1.Location = new Point(176, 40); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Size(48, 20); this.textBox1.TabIndex = 41; this.textBox1.Text = ""; // // textBox2 // this.textBox2.Location = new Point(176, 16); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Size(48, 20); this.textBox2.TabIndex = 40; this.textBox2.Text = ""; // // label2 // this.label2.Location = new Point(120, 40); this.label2.Name = "label2"; this.label2.Size = new Size(56, 23); this.label2.TabIndex = 39; this.label2.Text = "Hệ số 3"; this.label2.TextAlign = ContentAlignment.MiddleLeft; // // label6 // this.label6.Location = new Point(120, 16); this.label6.Name = "label6"; this.label6.Size = new Size(56, 23); this.label6.TabIndex = 38; this.label6.Text = "Hệ số 2"; this.label6.TextAlign = ContentAlignment.MiddleLeft; // // frmSalary // this.AutoScaleBaseSize = new Size(5, 13); this.ClientSize = new Size(650, 400); this.Controls.Add(this.groupBox3); this.Controls.Add(this.btnCancel); this.Controls.Add(this.txtRecordNum); this.Controls.Add(this.btnLast); this.Controls.Add(this.btnNext); this.Controls.Add(this.btnPrevious); this.Controls.Add(this.btnFirst); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnSave); this.Controls.Add(this.groupBox2); this.Controls.Add(this.grbNgayCong); this.Controls.Add(this.grbThongTinChung); this.Controls.Add(this.groupBox1); this.FormBorderStyle = FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "frmSalary"; this.Text = "Nhập lương tháng"; this.Load += new EventHandler(this.frmSalary_Load); this.grbNgayCong.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.grbThongTinChung.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmRegLeaveSchedule)); this.dtpEndLeave = new System.Windows.Forms.DateTimePicker(); this.dtpStartLeave = new System.Windows.Forms.DateTimePicker(); this.txtWorkInfo = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.txtLeaveLocation = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnOK = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.btnHelp = new System.Windows.Forms.Button(); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.cboEmployeeName = new MTGCComboBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.txtEmployeeName = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // dtpEndLeave // this.dtpEndLeave.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dtpEndLeave.CustomFormat = "dd/MM/yyyy"; this.dtpEndLeave.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpEndLeave.Location = new System.Drawing.Point(96, 64); this.dtpEndLeave.Name = "dtpEndLeave"; this.dtpEndLeave.Size = new System.Drawing.Size(208, 20); this.dtpEndLeave.TabIndex = 4; // // dtpStartLeave // this.dtpStartLeave.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dtpStartLeave.CustomFormat = "dd/MM/yyyy"; this.dtpStartLeave.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpStartLeave.Location = new System.Drawing.Point(96, 40); this.dtpStartLeave.Name = "dtpStartLeave"; this.dtpStartLeave.Size = new System.Drawing.Size(208, 20); this.dtpStartLeave.TabIndex = 3; // // txtWorkInfo // this.txtWorkInfo.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.txtWorkInfo.Location = new System.Drawing.Point(8, 136); this.txtWorkInfo.Multiline = true; this.txtWorkInfo.Name = "txtWorkInfo"; this.txtWorkInfo.Size = new System.Drawing.Size(294, 174); this.txtWorkInfo.TabIndex = 6; this.txtWorkInfo.Text = ""; // // label5 // this.label5.Location = new System.Drawing.Point(8, 112); this.label5.Name = "label5"; this.label5.TabIndex = 22; this.label5.Text = "Nội dung công việc"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtLeaveLocation // this.txtLeaveLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtLeaveLocation.Location = new System.Drawing.Point(96, 88); this.txtLeaveLocation.Name = "txtLeaveLocation"; this.txtLeaveLocation.Size = new System.Drawing.Size(208, 20); this.txtLeaveLocation.TabIndex = 5; this.txtLeaveLocation.Text = ""; // // label4 // this.label4.Location = new System.Drawing.Point(8, 88); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(88, 23); this.label4.TabIndex = 20; this.label4.Text = "Nơi công tác"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label3 // this.label3.Location = new System.Drawing.Point(8, 64); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(88, 23); this.label3.TabIndex = 19; this.label3.Text = "Kết thúc"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Location = new System.Drawing.Point(8, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(88, 23); this.label2.TabIndex = 18; this.label2.Text = "Bắt đầu"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnOK.Location = new System.Drawing.Point(384, 336); this.btnOK.Name = "btnOK"; this.btnOK.TabIndex = 7; this.btnOK.Text = "Đồng ý"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClose.Location = new System.Drawing.Point(464, 336); this.btnClose.Name = "btnClose"; this.btnClose.TabIndex = 8; this.btnClose.Text = "Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // label6 // this.label6.Location = new System.Drawing.Point(8, 16); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(88, 23); this.label6.TabIndex = 29; this.label6.Text = "Tên nhân viên"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnHelp // this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.Location = new System.Drawing.Point(8, 336); this.btnHelp.Name = "btnHelp"; this.btnHelp.TabIndex = 68; this.btnHelp.Text = "Trợ giúp"; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // departmentTreeView // this.departmentTreeView.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.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.Size = new System.Drawing.Size(200, 294); this.departmentTreeView.TabIndex = 9; this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // cboEmployeeName // this.cboEmployeeName.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D; this.cboEmployeeName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cboEmployeeName.ColumnNum = 3; this.cboEmployeeName.ColumnWidth = "0;50;120"; this.cboEmployeeName.DisplayMember = "Text"; this.cboEmployeeName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboEmployeeName.DropDownBackColor = System.Drawing.Color.FromArgb(((System.Byte)(193)), ((System.Byte)(210)), ((System.Byte)(238))); this.cboEmployeeName.DropDownForeColor = System.Drawing.Color.Black; this.cboEmployeeName.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList; this.cboEmployeeName.DropDownWidth = 200; this.cboEmployeeName.GridLineColor = System.Drawing.Color.LightGray; this.cboEmployeeName.GridLineHorizontal = true; this.cboEmployeeName.GridLineVertical = true; this.cboEmployeeName.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem; this.cboEmployeeName.Location = new System.Drawing.Point(96, 16); this.cboEmployeeName.ManagingFastMouseMoving = true; this.cboEmployeeName.ManagingFastMouseMovingInterval = 30; this.cboEmployeeName.Name = "cboEmployeeName"; this.cboEmployeeName.Size = new System.Drawing.Size(64, 21); this.cboEmployeeName.TabIndex = 1; this.cboEmployeeName.SelectedIndexChanged += new System.EventHandler(this.cboEmployeeName_SelectedIndexChanged); // // groupBox1 // this.groupBox1.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.groupBox1.Controls.Add(this.txtEmployeeName); this.groupBox1.Controls.Add(this.dtpEndLeave); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.dtpStartLeave); this.groupBox1.Controls.Add(this.txtWorkInfo); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.txtLeaveLocation); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.cboEmployeeName); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(232, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(310, 318); this.groupBox1.TabIndex = 82; this.groupBox1.TabStop = false; this.groupBox1.Text = "Thông tin nhân viên"; // // txtEmployeeName // this.txtEmployeeName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtEmployeeName.Location = new System.Drawing.Point(160, 16); this.txtEmployeeName.Name = "txtEmployeeName"; this.txtEmployeeName.ReadOnly = true; this.txtEmployeeName.Size = new System.Drawing.Size(144, 20); this.txtEmployeeName.TabIndex = 2; this.txtEmployeeName.Text = ""; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.departmentTreeView); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(8, 8); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(216, 318); this.groupBox2.TabIndex = 83; this.groupBox2.TabStop = false; this.groupBox2.Text = "Danh sách phòng ban"; // // frmRegLeaveSchedule // this.AcceptButton = this.btnOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(552, 366); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnOK); this.Controls.Add(this.groupBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmRegLeaveSchedule"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Đăng ký lịch công tác"; this.Load += new System.EventHandler(this.frmRegLeaveSchedule_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRegRestEmployee)); this.btnClose = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button(); this.dtpEndDate = new System.Windows.Forms.DateTimePicker(); this.dtpStartDate = new System.Windows.Forms.DateTimePicker(); this.txtRestReason = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.btnHelp = new System.Windows.Forms.Button(); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.cboEmployeeName = new MTGCComboBox(); this.grbRegRestInfo = new System.Windows.Forms.GroupBox(); this.txtNameChild = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radioSang = new System.Windows.Forms.RadioButton(); this.radioFullDay = new System.Windows.Forms.RadioButton(); this.radioChieu = new System.Windows.Forms.RadioButton(); this.lbNameChild = new System.Windows.Forms.Label(); this.cboDayName = new MTGCComboBox(); this.grbDepartment = new System.Windows.Forms.GroupBox(); this.grbRegRestInfo.SuspendLayout(); this.groupBox1.SuspendLayout(); this.grbDepartment.SuspendLayout(); this.SuspendLayout(); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClose.Location = new System.Drawing.Point(461, 398); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 55; this.btnClose.Text = "&Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_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.Location = new System.Drawing.Point(381, 398); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(75, 23); this.btnSave.TabIndex = 54; this.btnSave.Text = "&Đồng ý"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // dtpEndDate // this.dtpEndDate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dtpEndDate.CustomFormat = "dd/MM/yyyy"; this.dtpEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpEndDate.Location = new System.Drawing.Point(86, 94); this.dtpEndDate.Name = "dtpEndDate"; this.dtpEndDate.Size = new System.Drawing.Size(97, 20); this.dtpEndDate.TabIndex = 3; this.dtpEndDate.ValueChanged += new System.EventHandler(this.dtpStartDate_ValueChanged); // // dtpStartDate // this.dtpStartDate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dtpStartDate.CustomFormat = "dd/MM/yyyy"; this.dtpStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpStartDate.Location = new System.Drawing.Point(86, 69); this.dtpStartDate.Name = "dtpStartDate"; this.dtpStartDate.Size = new System.Drawing.Size(97, 20); this.dtpStartDate.TabIndex = 2; this.dtpStartDate.ValueChanged += new System.EventHandler(this.dtpStartDate_ValueChanged); // // txtRestReason // this.txtRestReason.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.txtRestReason.Location = new System.Drawing.Point(9, 219); this.txtRestReason.Multiline = true; this.txtRestReason.Name = "txtRestReason"; this.txtRestReason.Size = new System.Drawing.Size(303, 157); this.txtRestReason.TabIndex = 39; // // label5 // this.label5.Location = new System.Drawing.Point(6, 193); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 23); this.label5.TabIndex = 38; this.label5.Text = "Lý do nghỉ"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label4 // this.label4.Location = new System.Drawing.Point(8, 41); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(88, 23); this.label4.TabIndex = 36; this.label4.Text = "Kiểu ngày nghỉ"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label3 // this.label3.Location = new System.Drawing.Point(8, 93); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(88, 23); this.label3.TabIndex = 35; this.label3.Text = "Ngày kết thúc"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Location = new System.Drawing.Point(8, 68); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(88, 23); this.label2.TabIndex = 34; this.label2.Text = "Ngày bắt đầu"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label1 // this.label1.Location = new System.Drawing.Point(8, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(88, 23); this.label1.TabIndex = 33; this.label1.Text = "Nhân viên"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnHelp // this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.Location = new System.Drawing.Point(5, 398); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(75, 23); this.btnHelp.TabIndex = 48; this.btnHelp.Text = "Trợ giúp"; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // departmentTreeView // this.departmentTreeView.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.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.ImageIndex = 0; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.SelectedImageIndex = 0; this.departmentTreeView.Size = new System.Drawing.Size(186, 360); this.departmentTreeView.TabIndex = 50; this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // cboEmployeeName // this.cboEmployeeName.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D; this.cboEmployeeName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cboEmployeeName.ColumnNum = 3; this.cboEmployeeName.ColumnWidth = "0;50;120"; this.cboEmployeeName.DisplayMember = "Text"; this.cboEmployeeName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboEmployeeName.DropDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(210)))), ((int)(((byte)(238))))); this.cboEmployeeName.DropDownForeColor = System.Drawing.Color.Black; this.cboEmployeeName.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList; this.cboEmployeeName.DropDownWidth = 200; this.cboEmployeeName.GridLineColor = System.Drawing.Color.LightGray; this.cboEmployeeName.GridLineHorizontal = true; this.cboEmployeeName.GridLineVertical = true; this.cboEmployeeName.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem; this.cboEmployeeName.Location = new System.Drawing.Point(86, 17); this.cboEmployeeName.ManagingFastMouseMoving = true; this.cboEmployeeName.ManagingFastMouseMovingInterval = 30; this.cboEmployeeName.Name = "cboEmployeeName"; this.cboEmployeeName.Size = new System.Drawing.Size(226, 21); this.cboEmployeeName.TabIndex = 0; this.cboEmployeeName.SelectedIndexChanged += new System.EventHandler(this.cboEmployeeName_SelectedIndexChanged); // // grbRegRestInfo // this.grbRegRestInfo.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.grbRegRestInfo.Controls.Add(this.txtNameChild); this.grbRegRestInfo.Controls.Add(this.groupBox1); this.grbRegRestInfo.Controls.Add(this.lbNameChild); this.grbRegRestInfo.Controls.Add(this.cboDayName); this.grbRegRestInfo.Controls.Add(this.label4); this.grbRegRestInfo.Controls.Add(this.label5); this.grbRegRestInfo.Controls.Add(this.txtRestReason); this.grbRegRestInfo.Controls.Add(this.dtpStartDate); this.grbRegRestInfo.Controls.Add(this.dtpEndDate); this.grbRegRestInfo.Controls.Add(this.cboEmployeeName); this.grbRegRestInfo.Controls.Add(this.label1); this.grbRegRestInfo.Controls.Add(this.label2); this.grbRegRestInfo.Controls.Add(this.label3); this.grbRegRestInfo.FlatStyle = System.Windows.Forms.FlatStyle.System; this.grbRegRestInfo.Location = new System.Drawing.Point(218, 8); this.grbRegRestInfo.Name = "grbRegRestInfo"; this.grbRegRestInfo.Size = new System.Drawing.Size(318, 384); this.grbRegRestInfo.TabIndex = 52; this.grbRegRestInfo.TabStop = false; this.grbRegRestInfo.Text = "Thông tin đăng ký nghỉ"; // // txtNameChild // this.txtNameChild.Location = new System.Drawing.Point(86, 119); this.txtNameChild.Name = "txtNameChild"; this.txtNameChild.Size = new System.Drawing.Size(226, 20); this.txtNameChild.TabIndex = 4; this.txtNameChild.Visible = false; // // groupBox1 // this.groupBox1.Controls.Add(this.radioSang); this.groupBox1.Controls.Add(this.radioFullDay); this.groupBox1.Controls.Add(this.radioChieu); this.groupBox1.Location = new System.Drawing.Point(9, 144); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(303, 46); this.groupBox1.TabIndex = 53; this.groupBox1.TabStop = false; this.groupBox1.Text = "Thời gian nghỉ"; // // radioSang // this.radioSang.AutoSize = true; this.radioSang.Location = new System.Drawing.Point(75, 15); this.radioSang.Name = "radioSang"; this.radioSang.Size = new System.Drawing.Size(50, 17); this.radioSang.TabIndex = 0; this.radioSang.Text = "Sáng"; this.radioSang.UseVisualStyleBackColor = true; // // radioFullDay // this.radioFullDay.AutoSize = true; this.radioFullDay.Location = new System.Drawing.Point(229, 15); this.radioFullDay.Name = "radioFullDay"; this.radioFullDay.Size = new System.Drawing.Size(64, 17); this.radioFullDay.TabIndex = 2; this.radioFullDay.Text = "Cả ngày"; this.radioFullDay.UseVisualStyleBackColor = true; // // radioChieu // this.radioChieu.AutoSize = true; this.radioChieu.Location = new System.Drawing.Point(153, 15); this.radioChieu.Name = "radioChieu"; this.radioChieu.Size = new System.Drawing.Size(52, 17); this.radioChieu.TabIndex = 1; this.radioChieu.Text = "Chiều"; this.radioChieu.UseVisualStyleBackColor = true; // // lbNameChild // this.lbNameChild.Location = new System.Drawing.Point(8, 118); this.lbNameChild.Name = "lbNameChild"; this.lbNameChild.Size = new System.Drawing.Size(88, 23); this.lbNameChild.TabIndex = 56; this.lbNameChild.Text = "Họ tên con"; this.lbNameChild.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lbNameChild.Visible = false; // // cboDayName // this.cboDayName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cboDayName.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D; this.cboDayName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cboDayName.ColumnNum = 3; this.cboDayName.ColumnWidth = "60;120;0"; this.cboDayName.DisplayMember = "Text"; this.cboDayName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboDayName.DropDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(210)))), ((int)(((byte)(238))))); this.cboDayName.DropDownForeColor = System.Drawing.Color.Black; this.cboDayName.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList; this.cboDayName.DropDownWidth = 200; this.cboDayName.GridLineColor = System.Drawing.Color.LightGray; this.cboDayName.GridLineHorizontal = false; this.cboDayName.GridLineVertical = false; this.cboDayName.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem; this.cboDayName.Location = new System.Drawing.Point(86, 42); this.cboDayName.ManagingFastMouseMoving = true; this.cboDayName.ManagingFastMouseMovingInterval = 30; this.cboDayName.Name = "cboDayName"; this.cboDayName.Size = new System.Drawing.Size(226, 21); this.cboDayName.TabIndex = 1; this.cboDayName.SelectedIndexChanged += new System.EventHandler(this.cboDayName_SelectedIndexChanged); // // grbDepartment // this.grbDepartment.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.grbDepartment.Controls.Add(this.departmentTreeView); this.grbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.System; this.grbDepartment.Location = new System.Drawing.Point(8, 8); this.grbDepartment.Name = "grbDepartment"; this.grbDepartment.Size = new System.Drawing.Size(202, 384); this.grbDepartment.TabIndex = 53; this.grbDepartment.TabStop = false; this.grbDepartment.Text = "Danh sách phòng ban"; // // frmRegRestEmployee // this.AcceptButton = this.btnSave; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(548, 433); this.Controls.Add(this.grbDepartment); this.Controls.Add(this.grbRegRestInfo); this.Controls.Add(this.btnSave); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnHelp); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmRegRestEmployee"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Đăng ký nghỉ cho nhân viên"; this.Load += new System.EventHandler(this.frmRegRestEmployee_Load); this.grbRegRestInfo.ResumeLayout(false); this.grbRegRestInfo.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.grbDepartment.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmPunish)); this.btnClose = new System.Windows.Forms.Button(); this.btnHelp = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cboPunishCard = new MTGCComboBox(); this.cboEmployeeName = new MTGCComboBox(); this.label2 = new System.Windows.Forms.Label(); this.dtpWorkingDay = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.txtReason = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.btnSave = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClose.Location = new System.Drawing.Point(424, 328); this.btnClose.Name = "btnClose"; this.btnClose.TabIndex = 0; this.btnClose.Text = "Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnHelp // this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.Location = new System.Drawing.Point(8, 328); this.btnHelp.Name = "btnHelp"; this.btnHelp.TabIndex = 81; this.btnHelp.Text = "Trợ giúp"; // // groupBox2 // this.groupBox2.Controls.Add(this.cboPunishCard); this.groupBox2.Controls.Add(this.cboEmployeeName); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.dtpWorkingDay); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.txtReason); this.groupBox2.Controls.Add(this.label5); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(224, 8); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(272, 312); this.groupBox2.TabIndex = 83; this.groupBox2.TabStop = false; this.groupBox2.Text = "Thông tin phạt"; // // cboPunishCard // this.cboPunishCard.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D; this.cboPunishCard.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cboPunishCard.ColumnNum = 2; this.cboPunishCard.ColumnWidth = "30;80"; this.cboPunishCard.DisplayMember = "Text"; this.cboPunishCard.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboPunishCard.DropDownBackColor = System.Drawing.Color.FromArgb(((System.Byte)(193)), ((System.Byte)(210)), ((System.Byte)(238))); this.cboPunishCard.DropDownForeColor = System.Drawing.Color.Black; this.cboPunishCard.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList; this.cboPunishCard.DropDownWidth = 130; this.cboPunishCard.GridLineColor = System.Drawing.Color.LightGray; this.cboPunishCard.GridLineHorizontal = true; this.cboPunishCard.GridLineVertical = true; this.cboPunishCard.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem; this.cboPunishCard.Location = new System.Drawing.Point(104, 40); this.cboPunishCard.ManagingFastMouseMoving = true; this.cboPunishCard.ManagingFastMouseMovingInterval = 30; this.cboPunishCard.Name = "cboPunishCard"; this.cboPunishCard.Size = new System.Drawing.Size(160, 21); this.cboPunishCard.TabIndex = 77; // // cboEmployeeName // this.cboEmployeeName.BorderStyle = MTGCComboBox.TipiBordi.Fixed3D; this.cboEmployeeName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cboEmployeeName.ColumnNum = 3; this.cboEmployeeName.ColumnWidth = "121;60;0"; this.cboEmployeeName.DisplayMember = "Text"; this.cboEmployeeName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboEmployeeName.DropDownBackColor = System.Drawing.Color.FromArgb(((System.Byte)(193)), ((System.Byte)(210)), ((System.Byte)(238))); this.cboEmployeeName.DropDownForeColor = System.Drawing.Color.Black; this.cboEmployeeName.DropDownStyle = MTGCComboBox.CustomDropDownStyle.DropDownList; this.cboEmployeeName.DropDownWidth = 201; this.cboEmployeeName.GridLineColor = System.Drawing.Color.LightGray; this.cboEmployeeName.GridLineHorizontal = true; this.cboEmployeeName.GridLineVertical = true; this.cboEmployeeName.LoadingType = MTGCComboBox.CaricamentoCombo.ComboBoxItem; this.cboEmployeeName.Location = new System.Drawing.Point(104, 16); this.cboEmployeeName.ManagingFastMouseMoving = true; this.cboEmployeeName.ManagingFastMouseMovingInterval = 30; this.cboEmployeeName.Name = "cboEmployeeName"; this.cboEmployeeName.Size = new System.Drawing.Size(160, 21); this.cboEmployeeName.TabIndex = 76; // // label2 // this.label2.Location = new System.Drawing.Point(8, 64); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(96, 23); this.label2.TabIndex = 51; this.label2.Text = "Ngày làm "; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // dtpWorkingDay // this.dtpWorkingDay.CustomFormat = "dd/MM/yyyy "; this.dtpWorkingDay.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpWorkingDay.Location = new System.Drawing.Point(104, 64); this.dtpWorkingDay.Name = "dtpWorkingDay"; this.dtpWorkingDay.Size = new System.Drawing.Size(160, 20); this.dtpWorkingDay.TabIndex = 56; // // label4 // this.label4.Location = new System.Drawing.Point(8, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(96, 23); this.label4.TabIndex = 69; this.label4.Text = "Hình thức phạt"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label6 // this.label6.Location = new System.Drawing.Point(8, 16); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(96, 23); this.label6.TabIndex = 61; this.label6.Text = "Tên nhân viên"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtReason // this.txtReason.Location = new System.Drawing.Point(8, 120); this.txtReason.Multiline = true; this.txtReason.Name = "txtReason"; this.txtReason.Size = new System.Drawing.Size(256, 184); this.txtReason.TabIndex = 55; this.txtReason.Text = ""; // // label5 // this.label5.Location = new System.Drawing.Point(8, 96); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(104, 18); this.label5.TabIndex = 54; this.label5.Text = "Lý do phạt"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // 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.Location = new System.Drawing.Point(344, 328); this.btnSave.Name = "btnSave"; this.btnSave.TabIndex = 79; this.btnSave.Text = "Ghi"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.departmentTreeView); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(208, 312); this.groupBox1.TabIndex = 82; this.groupBox1.TabStop = false; this.groupBox1.Text = "Phòng ban"; // // departmentTreeView // this.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.Size = new System.Drawing.Size(192, 288); this.departmentTreeView.TabIndex = 76; this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // frmPunish // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(504, 358); this.Controls.Add(this.btnHelp); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btnSave); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btnClose); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmPunish"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Quản lý thẻ phạt"; this.Load += new System.EventHandler(this.frmPunish_Load); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.btnClose = new System.Windows.Forms.Button(); this.btnUpdate = new System.Windows.Forms.Button(); this.btnHelp = new System.Windows.Forms.Button(); this.monthCalendar1 = new Pabo.Calendar.MonthCalendar(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.btnCancel = new System.Windows.Forms.Button(); this.cboShift = new System.Windows.Forms.LookupComboBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.rbtOverTime = new System.Windows.Forms.RadioButton(); this.rbtHoliday = new System.Windows.Forms.RadioButton(); this.lblShift = new System.Windows.Forms.Label(); this.rbtWorkingDay = new System.Windows.Forms.RadioButton(); this.rbtNonWorkingDay = new System.Windows.Forms.RadioButton(); this.lblWorkingDay = new System.Windows.Forms.Label(); this.lblNonWorkingDay = new System.Windows.Forms.Label(); this.lblNonWorkingDayLegend = new System.Windows.Forms.Label(); this.lblWorkingDayLegend = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.lblOverTime = new System.Windows.Forms.Label(); this.lblOverTimeLegend = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lblHolidayLegend = new System.Windows.Forms.Label(); this.lvwListEmployee = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.cSTT = new XPTable.Models.NumberColumn(); this.cCardID = new XPTable.Models.TextColumn(); this.cEmployeeName = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnSelectAll = new System.Windows.Forms.Button(); this.btnSelectNone = new System.Windows.Forms.Button(); this.groupBox4.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lvwListEmployee)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // 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.Location = new System.Drawing.Point(792, 568); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 7; this.btnClose.Text = "Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnUpdate // this.btnUpdate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnUpdate.Location = new System.Drawing.Point(632, 568); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Size = new System.Drawing.Size(75, 23); this.btnUpdate.TabIndex = 6; this.btnUpdate.Text = "Cập nhật"; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // btnHelp // this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.Location = new System.Drawing.Point(8, 568); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(75, 23); this.btnHelp.TabIndex = 8; this.btnHelp.Text = "Trợ giúp"; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // monthCalendar1 // this.monthCalendar1.ActiveMonth.Month = 6; this.monthCalendar1.ActiveMonth.RaiseEvent = true; this.monthCalendar1.ActiveMonth.Year = 2006; this.monthCalendar1.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.monthCalendar1.BorderColor = System.Drawing.SystemColors.ActiveBorder; this.monthCalendar1.Culture = new System.Globalization.CultureInfo(""); this.monthCalendar1.Footer.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); this.monthCalendar1.Header.BackColor = System.Drawing.SystemColors.ActiveCaption; this.monthCalendar1.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); this.monthCalendar1.Header.TextColor = System.Drawing.Color.White; this.monthCalendar1.ImageList = null; this.monthCalendar1.Location = new System.Drawing.Point(8, 16); this.monthCalendar1.MaxDate = new System.DateTime(2020, 11, 9, 0, 0, 0, 0); this.monthCalendar1.MinDate = new System.DateTime(1995, 11, 9, 19, 19, 39, 781); this.monthCalendar1.Month.Colors.Background = System.Drawing.Color.GhostWhite; this.monthCalendar1.Month.Colors.FocusBackground = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(122)))), ((int)(((byte)(255))))); this.monthCalendar1.Month.Colors.FocusBorder = System.Drawing.SystemColors.ActiveCaption; this.monthCalendar1.Month.Colors.FocusDate = System.Drawing.Color.Black; this.monthCalendar1.Month.Colors.FocusText = System.Drawing.Color.Black; this.monthCalendar1.Month.Colors.SelectedBackground = System.Drawing.SystemColors.ActiveCaption; this.monthCalendar1.Month.Colors.SelectedBorder = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(69)))), ((int)(((byte)(185))))); this.monthCalendar1.Month.Colors.SelectedDate = System.Drawing.Color.Black; this.monthCalendar1.Month.Colors.SelectedText = System.Drawing.Color.Black; this.monthCalendar1.Month.Colors.WeekendBackground = System.Drawing.Color.MistyRose; this.monthCalendar1.Month.Colors.WeekendDate = System.Drawing.Color.DarkRed; this.monthCalendar1.Month.DateFont = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.monthCalendar1.Month.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.SelectionMode = Pabo.Calendar.mcSelectionMode.MultiExtended; this.monthCalendar1.SelectTrailingDates = false; this.monthCalendar1.ShowTrailingDates = false; this.monthCalendar1.Size = new System.Drawing.Size(552, 456); this.monthCalendar1.TabIndex = 67; this.monthCalendar1.WeekDays.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.monthCalendar1.WeekDays.TextColor = System.Drawing.SystemColors.ActiveCaption; this.monthCalendar1.WeekNumbers.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.monthCalendar1.WeekNumbers.TextColor = System.Drawing.SystemColors.ActiveCaption; this.monthCalendar1.DaySelected += new Pabo.Calendar.DaySelectedEventHandler(this.monthCalendar1_DaySelected); this.monthCalendar1.MonthChanged += new Pabo.Calendar.MonthChangedEventHandler(this.monthCalendar1_MonthChanged); // // groupBox4 // this.groupBox4.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.groupBox4.Controls.Add(this.monthCalendar1); this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox4.Location = new System.Drawing.Point(296, 80); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(568, 480); this.groupBox4.TabIndex = 75; this.groupBox4.TabStop = false; this.groupBox4.Text = "Lịch làm việc"; // // groupBox5 // this.groupBox5.Controls.Add(this.departmentTreeView); this.groupBox5.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox5.Location = new System.Drawing.Point(8, 8); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(280, 240); this.groupBox5.TabIndex = 76; this.groupBox5.TabStop = false; this.groupBox5.Text = "Danh sách phòng ban"; // // departmentTreeView // this.departmentTreeView.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.departmentTreeView.BackColor = System.Drawing.Color.GhostWhite; this.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.ImageIndex = 0; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.SelectedImageIndex = 0; this.departmentTreeView.Size = new System.Drawing.Size(264, 216); this.departmentTreeView.TabIndex = 4; this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnCancel.Location = new System.Drawing.Point(712, 568); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 77; this.btnCancel.Text = "Bỏ qua"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // cboShift // this.cboShift.AllowTypeAllSymbols = false; this.cboShift.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cboShift.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboShift.DropDownWidth = 200; this.cboShift.ItemHeight = 13; this.cboShift.Location = new System.Drawing.Point(184, 16); this.cboShift.Name = "cboShift"; this.cboShift.Size = new System.Drawing.Size(152, 21); this.cboShift.TabIndex = 0; this.cboShift.SelectedIndexChanged += new System.EventHandler(this.cboShift_SelectedIndexChanged); // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.rbtOverTime); this.groupBox2.Controls.Add(this.rbtHoliday); this.groupBox2.Controls.Add(this.lblShift); this.groupBox2.Controls.Add(this.rbtWorkingDay); this.groupBox2.Controls.Add(this.rbtNonWorkingDay); this.groupBox2.Controls.Add(this.cboShift); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(296, 8); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(344, 72); this.groupBox2.TabIndex = 79; this.groupBox2.TabStop = false; this.groupBox2.Text = "Thiết lập ngày"; // // rbtOverTime // this.rbtOverTime.Location = new System.Drawing.Point(16, 40); this.rbtOverTime.Name = "rbtOverTime"; this.rbtOverTime.Size = new System.Drawing.Size(112, 24); this.rbtOverTime.TabIndex = 76; this.rbtOverTime.Text = "Làm thêm (HS1)"; this.rbtOverTime.CheckedChanged += new System.EventHandler(this.rbtOverTime_CheckedChanged); // // rbtHoliday // this.rbtHoliday.Location = new System.Drawing.Point(240, 40); this.rbtHoliday.Name = "rbtHoliday"; this.rbtHoliday.Size = new System.Drawing.Size(96, 24); this.rbtHoliday.TabIndex = 75; this.rbtHoliday.Text = "Ngày lễ (HS3)"; this.rbtHoliday.CheckedChanged += new System.EventHandler(this.rbtHoliday_CheckedChanged); // // lblShift // this.lblShift.Location = new System.Drawing.Point(128, 16); this.lblShift.Name = "lblShift"; this.lblShift.Size = new System.Drawing.Size(56, 23); this.lblShift.TabIndex = 72; this.lblShift.Text = "Chọn ca:"; this.lblShift.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // rbtWorkingDay // this.rbtWorkingDay.Location = new System.Drawing.Point(16, 16); this.rbtWorkingDay.Name = "rbtWorkingDay"; this.rbtWorkingDay.Size = new System.Drawing.Size(112, 24); this.rbtWorkingDay.TabIndex = 70; this.rbtWorkingDay.Text = "Ngày làm việc"; this.rbtWorkingDay.CheckedChanged += new System.EventHandler(this.rbtWorkingDay_CheckedChanged); // // rbtNonWorkingDay // this.rbtNonWorkingDay.Location = new System.Drawing.Point(128, 40); this.rbtNonWorkingDay.Name = "rbtNonWorkingDay"; this.rbtNonWorkingDay.Size = new System.Drawing.Size(112, 24); this.rbtNonWorkingDay.TabIndex = 71; this.rbtNonWorkingDay.Text = "Ngày nghỉ (HS2)"; this.rbtNonWorkingDay.CheckedChanged += new System.EventHandler(this.rbtNonWorkingDay_CheckedChanged); // // lblWorkingDay // this.lblWorkingDay.Location = new System.Drawing.Point(40, 16); this.lblWorkingDay.Name = "lblWorkingDay"; this.lblWorkingDay.Size = new System.Drawing.Size(80, 23); this.lblWorkingDay.TabIndex = 0; this.lblWorkingDay.Text = "Ngày làm việc"; this.lblWorkingDay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblNonWorkingDay // this.lblNonWorkingDay.Location = new System.Drawing.Point(40, 40); this.lblNonWorkingDay.Name = "lblNonWorkingDay"; this.lblNonWorkingDay.Size = new System.Drawing.Size(80, 23); this.lblNonWorkingDay.TabIndex = 1; this.lblNonWorkingDay.Text = "Ngày nghỉ"; this.lblNonWorkingDay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblNonWorkingDayLegend // this.lblNonWorkingDayLegend.BackColor = System.Drawing.Color.MistyRose; this.lblNonWorkingDayLegend.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblNonWorkingDayLegend.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.lblNonWorkingDayLegend.ForeColor = System.Drawing.Color.DarkRed; this.lblNonWorkingDayLegend.Location = new System.Drawing.Point(8, 40); this.lblNonWorkingDayLegend.Name = "lblNonWorkingDayLegend"; this.lblNonWorkingDayLegend.Size = new System.Drawing.Size(32, 23); this.lblNonWorkingDayLegend.TabIndex = 4; this.lblNonWorkingDayLegend.Text = "15"; this.lblNonWorkingDayLegend.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblWorkingDayLegend // this.lblWorkingDayLegend.BackColor = System.Drawing.Color.PaleTurquoise; this.lblWorkingDayLegend.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblWorkingDayLegend.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.lblWorkingDayLegend.ForeColor = System.Drawing.Color.Navy; this.lblWorkingDayLegend.Location = new System.Drawing.Point(8, 16); this.lblWorkingDayLegend.Name = "lblWorkingDayLegend"; this.lblWorkingDayLegend.Size = new System.Drawing.Size(32, 23); this.lblWorkingDayLegend.TabIndex = 3; this.lblWorkingDayLegend.Text = "1"; this.lblWorkingDayLegend.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox3.Controls.Add(this.lblOverTime); this.groupBox3.Controls.Add(this.lblOverTimeLegend); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.lblHolidayLegend); this.groupBox3.Controls.Add(this.lblNonWorkingDay); this.groupBox3.Controls.Add(this.lblNonWorkingDayLegend); this.groupBox3.Controls.Add(this.lblWorkingDay); this.groupBox3.Controls.Add(this.lblWorkingDayLegend); this.groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox3.Location = new System.Drawing.Point(648, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(216, 72); this.groupBox3.TabIndex = 79; this.groupBox3.TabStop = false; this.groupBox3.Text = "Quy ước mầu"; // // lblOverTime // this.lblOverTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblOverTime.Location = new System.Drawing.Point(152, 16); this.lblOverTime.Name = "lblOverTime"; this.lblOverTime.Size = new System.Drawing.Size(56, 23); this.lblOverTime.TabIndex = 7; this.lblOverTime.Text = "Làm thêm"; this.lblOverTime.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblOverTimeLegend // this.lblOverTimeLegend.BackColor = System.Drawing.Color.CornflowerBlue; this.lblOverTimeLegend.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblOverTimeLegend.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.lblOverTimeLegend.ForeColor = System.Drawing.Color.DarkBlue; this.lblOverTimeLegend.Location = new System.Drawing.Point(120, 16); this.lblOverTimeLegend.Name = "lblOverTimeLegend"; this.lblOverTimeLegend.Size = new System.Drawing.Size(32, 23); this.lblOverTimeLegend.TabIndex = 8; this.lblOverTimeLegend.Text = "7"; this.lblOverTimeLegend.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(152, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 23); this.label2.TabIndex = 5; this.label2.Text = "Ngày lễ"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblHolidayLegend // this.lblHolidayLegend.BackColor = System.Drawing.Color.Salmon; this.lblHolidayLegend.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblHolidayLegend.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.lblHolidayLegend.ForeColor = System.Drawing.Color.Maroon; this.lblHolidayLegend.Location = new System.Drawing.Point(120, 40); this.lblHolidayLegend.Name = "lblHolidayLegend"; this.lblHolidayLegend.Size = new System.Drawing.Size(32, 23); this.lblHolidayLegend.TabIndex = 6; this.lblHolidayLegend.Text = "31"; this.lblHolidayLegend.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lvwListEmployee // this.lvwListEmployee.AlternatingRowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(237)))), ((int)(((byte)(245))))); this.lvwListEmployee.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.lvwListEmployee.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(242)))), ((int)(((byte)(249))))); this.lvwListEmployee.ColumnModel = this.columnModel1; this.lvwListEmployee.EnableToolTips = true; this.lvwListEmployee.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121))))); this.lvwListEmployee.FullRowSelect = true; this.lvwListEmployee.GridColor = System.Drawing.SystemColors.ControlDark; this.lvwListEmployee.GridLines = XPTable.Models.GridLines.Both; this.lvwListEmployee.GridLineStyle = XPTable.Models.GridLineStyle.Dot; this.lvwListEmployee.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lvwListEmployee.Location = new System.Drawing.Point(8, 16); this.lvwListEmployee.MultiSelect = true; this.lvwListEmployee.Name = "lvwListEmployee"; this.lvwListEmployee.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(183)))), ((int)(((byte)(201))))); this.lvwListEmployee.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121))))); this.lvwListEmployee.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.lvwListEmployee.Size = new System.Drawing.Size(264, 280); this.lvwListEmployee.SortedColumnBackColor = System.Drawing.Color.Transparent; this.lvwListEmployee.TabIndex = 80; this.lvwListEmployee.TableModel = this.tableModel1; this.lvwListEmployee.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(221))))); this.lvwListEmployee.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(66)))), ((int)(((byte)(121))))); this.lvwListEmployee.Click += new System.EventHandler(this.lvwListEmployee_Click); this.lvwListEmployee.SelectionChanged += new XPTable.Events.SelectionEventHandler(this.lvwListEmployee_SelectionChanged); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.cSTT, this.cCardID, this.cEmployeeName}); // // cSTT // this.cSTT.Text = "STT"; this.cSTT.Width = 45; // // cCardID // this.cCardID.Text = "Mã thẻ"; // // cEmployeeName // this.cEmployeeName.Text = "Tên nhânviên"; this.cEmployeeName.Width = 120; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.Controls.Add(this.lvwListEmployee); this.groupBox1.Location = new System.Drawing.Point(8, 256); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(280, 304); this.groupBox1.TabIndex = 81; this.groupBox1.TabStop = false; this.groupBox1.Text = "Danh sách nhân viên"; // // btnSelectAll // this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSelectAll.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSelectAll.Location = new System.Drawing.Point(88, 568); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(75, 23); this.btnSelectAll.TabIndex = 82; this.btnSelectAll.Text = "Chọn tất"; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // btnSelectNone // this.btnSelectNone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSelectNone.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSelectNone.Location = new System.Drawing.Point(168, 568); this.btnSelectNone.Name = "btnSelectNone"; this.btnSelectNone.Size = new System.Drawing.Size(75, 23); this.btnSelectNone.TabIndex = 83; this.btnSelectNone.Text = "Bỏ chọn"; this.btnSelectNone.Click += new System.EventHandler(this.btnSelectNone_Click); // // frmRegWorkingTime // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(872, 598); this.Controls.Add(this.btnSelectNone); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btnCancel); this.Controls.Add(this.groupBox5); this.Controls.Add(this.groupBox4); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnUpdate); this.Controls.Add(this.groupBox3); this.Name = "frmRegWorkingTime"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Đăng ký lịch làm việc"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmRegWorkingTime_Load); this.groupBox4.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lvwListEmployee)).EndInit(); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(frmListDepartment)); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.mnuThemPhong = new System.Windows.Forms.MenuItem(); this.mnuSuaTenPhong = new System.Windows.Forms.MenuItem(); this.mnuXoaPhong = new System.Windows.Forms.MenuItem(); this.btnDelete = new System.Windows.Forms.Button(); this.btnUpdate = new System.Windows.Forms.Button(); this.btnAddNew = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components); this.departmentTreeView = new EVSoft.HRMS.Controls.DepartmentTreeView(); this.groupBox1 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuThemPhong, this.mnuSuaTenPhong, this.mnuXoaPhong}); // // mnuThemPhong // this.mnuThemPhong.Index = 0; this.mnuThemPhong.Text = "&Thêm Phòng..."; this.mnuThemPhong.Click += new System.EventHandler(this.btnAddNew_Click); // // mnuSuaTenPhong // this.mnuSuaTenPhong.Index = 1; this.mnuSuaTenPhong.Text = "&Sửa Tên..."; this.mnuSuaTenPhong.Click += new System.EventHandler(this.btnUpdate_Click); // // mnuXoaPhong // this.mnuXoaPhong.Index = 2; this.mnuXoaPhong.Text = "&Xóa Phòng..."; this.mnuXoaPhong.Click += new System.EventHandler(this.btnDelete_Click); // // btnDelete // this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.btnDelete.Location = new System.Drawing.Point(256, 72); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(75, 23); this.btnDelete.TabIndex = 5; this.btnDelete.Text = "&Xóa"; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnUpdate // this.btnUpdate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnUpdate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.btnUpdate.Location = new System.Drawing.Point(256, 40); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Size = new System.Drawing.Size(75, 23); this.btnUpdate.TabIndex = 4; this.btnUpdate.Text = "&Sửa"; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // btnAddNew // this.btnAddNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAddNew.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnAddNew.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.btnAddNew.Location = new System.Drawing.Point(256, 8); this.btnAddNew.Name = "btnAddNew"; this.btnAddNew.Size = new System.Drawing.Size(75, 23); this.btnAddNew.TabIndex = 3; this.btnAddNew.Text = "&Thêm"; this.btnAddNew.Click += new System.EventHandler(this.btnAddNew_Click); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; 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(256, 104); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 7; this.btnClose.Text = "&Đóng"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // errorProvider1 // this.errorProvider1.ContainerControl = this; // // departmentTreeView // this.departmentTreeView.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.departmentTreeView.DepartmentDataSet = null; this.departmentTreeView.ImageIndex = 0; this.departmentTreeView.Location = new System.Drawing.Point(8, 16); this.departmentTreeView.Name = "departmentTreeView"; this.departmentTreeView.SelectedImageIndex = 0; this.departmentTreeView.Size = new System.Drawing.Size(224, 368); this.departmentTreeView.TabIndex = 59; this.departmentTreeView.DoubleClick += new System.EventHandler(this.departmentTreeView_DoubleClick); this.departmentTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.departmentTreeView_AfterSelect); // // groupBox1 // this.groupBox1.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.groupBox1.Controls.Add(this.departmentTreeView); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(240, 392); this.groupBox1.TabIndex = 60; this.groupBox1.TabStop = false; this.groupBox1.Text = "Danh sách phòng ban"; // // frmListDepartment // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(334, 404); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnDelete); this.Controls.Add(this.btnUpdate); this.Controls.Add(this.btnAddNew); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "frmListDepartment"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Quản lý phòng ban, bộ phận"; this.Load += new System.EventHandler(this.frmDepartment_Load); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit(); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }