private void RefreshTree() { DepartmentTreeView.Nodes.Clear(); var departmentList = Db.Department.Where(l => l.ParentDepartmentID == null).ToList(); foreach (var department in departmentList) { DepartmentTreeView.Nodes.Add(FillViewTree(department)); } DepartmentTreeView.ExpandAll(); }
public Main() { InitializeComponent(); Db = new TestDBEntities(); var departmentList = Db.Department.Where(l => l.ParentDepartmentID == null).ToList(); foreach (var department in departmentList) { DepartmentTreeView.Nodes.Add(FillViewTree(department)); } DepartmentTreeView.ExpandAll(); DepartmentTreeView.NodeMouseDoubleClick += DepartmentTreeView_NodeMouseDoubleClick; DepartmentTreeView.AfterSelect += DepartmentTreeView_AfterSelect; }
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); }
/// <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 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); }
/// <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); }