Ejemplo n.º 1
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDM_QuyenHoaDon));
     this.btnTimKiem         = new QLBH.Core.Form.GtidButton();
     this.txtFilterKyHieuDau = new QLBH.Core.Form.GtidTextBox();
     this.label12            = new System.Windows.Forms.Label();
     this.txtFilterKyHieu    = new QLBH.Core.Form.GtidTextBox();
     this.label13            = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.grpThucThi.SuspendLayout();
     this.grpThongTin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnTimKiem);
     this.groupBox1.Controls.Add(this.txtFilterKyHieuDau);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.txtFilterKyHieu);
     this.groupBox1.Controls.Add(this.label13);
     this.groupBox1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     //
     // grpThongTin
     //
     this.grpThongTin.Text = "Danh sách quyển hóa đơn";
     //
     // btnXoa
     //
     this.btnXoa.Text = "Xóa(F8)";
     //
     // btnDong
     //
     this.btnDong.Text = "Thoát(ESC)";
     //
     // btnCapNhat
     //
     this.btnCapNhat.Text = "Cập nhật(F2)";
     //
     // btnTimKiem
     //
     this.btnTimKiem.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnTimKiem.Image                   = ((System.Drawing.Image)(resources.GetObject("btnTimKiem.Image")));
     this.btnTimKiem.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnTimKiem.Location                = new System.Drawing.Point(808, 24);
     this.btnTimKiem.Margin                  = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnTimKiem.Name                    = "btnTimKiem";
     this.btnTimKiem.ShortCutKey             = System.Windows.Forms.Keys.F9;
     this.btnTimKiem.Size                    = new System.Drawing.Size(95, 25);
     this.btnTimKiem.TabIndex                = 7;
     this.btnTimKiem.Text                    = "Lọc(F9)";
     this.btnTimKiem.UseVisualStyleBackColor = true;
     this.btnTimKiem.Click                  += new System.EventHandler(this.btnTimKiem_Click);
     //
     // txtFilterKyHieuDau
     //
     this.txtFilterKyHieuDau.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFilterKyHieuDau.Location = new System.Drawing.Point(461, 27);
     this.txtFilterKyHieuDau.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterKyHieuDau.Name     = "txtFilterKyHieuDau";
     this.txtFilterKyHieuDau.Size     = new System.Drawing.Size(330, 22);
     this.txtFilterKyHieuDau.TabIndex = 6;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(370, 30);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(77, 16);
     this.label12.TabIndex = 4;
     this.label12.Text     = "Ký hiệu đầu";
     //
     // txtFilterKyHieu
     //
     this.txtFilterKyHieu.Location = new System.Drawing.Point(73, 27);
     this.txtFilterKyHieu.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterKyHieu.Name     = "txtFilterKyHieu";
     this.txtFilterKyHieu.Size     = new System.Drawing.Size(289, 22);
     this.txtFilterKyHieu.TabIndex = 5;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label13.Location = new System.Drawing.Point(17, 30);
     this.label13.Name     = "label13";
     this.label13.Size     = new System.Drawing.Size(52, 16);
     this.label13.TabIndex = 3;
     this.label13.Text     = "Ký hiệu";
     //
     // frmDM_QuyenHoaDon
     //
     this.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.Appearance.Font                 = new System.Drawing.Font("Arial", 10F);
     this.Appearance.Options.UseBackColor = true;
     this.Appearance.Options.UseFont      = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(7F, 16F);
     this.ClientSize         = new System.Drawing.Size(937, 686);
     this.Location           = new System.Drawing.Point(0, 0);
     this.Margin             = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.Name               = "frmDM_QuyenHoaDon";
     this.Text               = "Danh mục hóa đơn";
     this.OnThemMoi         += new System.EventHandler(this.frmDM_QuyenHoaDon_OnThemMoi);
     this.OnXoa             += new System.EventHandler(this.frmDM_QuyenHoaDon_OnXoa);
     this.OnCapNhat         += new System.EventHandler(this.frmDM_QuyenHoaDon_OnCapNhat);
     this.OnGridCellClick   += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.frmDM_QuyenHoaDon_OnGridCellClick);
     this.OnGridDoubleClick += new System.EventHandler(this.frmDM_QuyenHoaDon_OnGridDoubleClick);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.grpThucThi.ResumeLayout(false);
     this.grpThongTin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_PhieuDeNghiNhanDieuChuyen));
     this.lblChungTuGoc = new System.Windows.Forms.Label();
     this.txtSoCTG      = new QLBH.Core.Form.GtidTextBox();
     this.clMaSanPham   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clTenSanPham  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clSoLuong     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clDonGia      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clThanhTien   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bteKhoDen     = new DevExpress.XtraEditors.ButtonEdit();
     this.txtKhoDi      = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.lblKhoHang    = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dgvChiTiet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSoPhieu.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteKhoDen.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // btnThemSP
     //
     this.btnThemSP.Image    = ((System.Drawing.Image)(resources.GetObject("btnThemSP.Image")));
     this.btnThemSP.TabIndex = 6;
     //
     // btnXoaSP
     //
     this.btnXoaSP.TabIndex = 7;
     //
     // btnCapNhat
     //
     this.btnCapNhat.TabIndex = 9;
     //
     // dgvChiTiet
     //
     this.dgvChiTiet.AllowUserToAddRows = false;
     this.dgvChiTiet.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.clMaSanPham,
         this.clTenSanPham,
         this.clSoLuong,
         this.clDonGia,
         this.clThanhTien
     });
     this.dgvChiTiet.Location         = new System.Drawing.Point(12, 98);
     this.dgvChiTiet.Size             = new System.Drawing.Size(929, 382);
     this.dgvChiTiet.TabIndex         = 5;
     this.dgvChiTiet.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.dgvChiTiet_UserDeletingRow);
     this.dgvChiTiet.CellClick       += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvChiTiet_CellClick);
     //
     // txtGhiChu
     //
     this.txtGhiChu.Location = new System.Drawing.Point(117, 71);
     this.txtGhiChu.Size     = new System.Drawing.Size(433, 21);
     //
     // btnChiTietMaVach
     //
     this.btnChiTietMaVach.TabIndex = 8;
     //
     // label1
     //
     this.label1.TabIndex = 11;
     //
     // label2
     //
     this.label2.TabIndex = 12;
     //
     // label3
     //
     this.label3.TabIndex = 13;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(46, 71);
     this.label4.TabIndex = 14;
     //
     // btnDong
     //
     this.btnDong.TabIndex = 10;
     //
     // btnInPhieu
     //
     this.btnInPhieu.Click += new System.EventHandler(this.btnInPhieu_Click);
     //
     // txtSoPhieu
     //
     this.txtSoPhieu.Properties.AppearanceReadOnly.BackColor            = System.Drawing.Color.White;
     this.txtSoPhieu.Properties.AppearanceReadOnly.BackColor2           = System.Drawing.Color.White;
     this.txtSoPhieu.Properties.AppearanceReadOnly.ForeColor            = System.Drawing.SystemColors.InfoText;
     this.txtSoPhieu.Properties.AppearanceReadOnly.Options.UseBackColor = true;
     this.txtSoPhieu.Properties.AppearanceReadOnly.Options.UseForeColor = true;
     //
     // lblChungTuGoc
     //
     this.lblChungTuGoc.AutoSize = true;
     this.lblChungTuGoc.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblChungTuGoc.Location = new System.Drawing.Point(556, 71);
     this.lblChungTuGoc.Name     = "lblChungTuGoc";
     this.lblChungTuGoc.Size     = new System.Drawing.Size(107, 16);
     this.lblChungTuGoc.TabIndex = 15;
     this.lblChungTuGoc.Text     = "Số chứng từ gốc";
     //
     // txtSoCTG
     //
     this.txtSoCTG.Location = new System.Drawing.Point(669, 71);
     this.txtSoCTG.Name     = "txtSoCTG";
     this.txtSoCTG.Size     = new System.Drawing.Size(272, 21);
     this.txtSoCTG.TabIndex = 4;
     this.txtSoCTG.Leave   += new System.EventHandler(this.txtSoCTG_Leave);
     //
     // clMaSanPham
     //
     this.clMaSanPham.DataPropertyName = "MaSanPham";
     this.clMaSanPham.HeaderText       = "Mã sản phẩm";
     this.clMaSanPham.MinimumWidth     = 150;
     this.clMaSanPham.Name             = "clMaSanPham";
     this.clMaSanPham.ReadOnly         = true;
     this.clMaSanPham.Resizable        = System.Windows.Forms.DataGridViewTriState.False;
     this.clMaSanPham.Width            = 150;
     //
     // clTenSanPham
     //
     this.clTenSanPham.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.clTenSanPham.DataPropertyName = "TenSanPham";
     this.clTenSanPham.HeaderText       = "Tên sản phẩm";
     this.clTenSanPham.MinimumWidth     = 200;
     this.clTenSanPham.Name             = "clTenSanPham";
     this.clTenSanPham.ReadOnly         = true;
     this.clTenSanPham.Resizable        = System.Windows.Forms.DataGridViewTriState.False;
     //
     // clSoLuong
     //
     this.clSoLuong.DataPropertyName = "SoLuong";
     this.clSoLuong.HeaderText       = "Số lượng";
     this.clSoLuong.MinimumWidth     = 100;
     this.clSoLuong.Name             = "clSoLuong";
     this.clSoLuong.Resizable        = System.Windows.Forms.DataGridViewTriState.False;
     //
     // clDonGia
     //
     this.clDonGia.DataPropertyName = "DonGia";
     this.clDonGia.HeaderText       = "Đơn giá";
     this.clDonGia.MinimumWidth     = 50;
     this.clDonGia.Name             = "clDonGia";
     this.clDonGia.ReadOnly         = true;
     this.clDonGia.Resizable        = System.Windows.Forms.DataGridViewTriState.False;
     this.clDonGia.Width            = 150;
     //
     // clThanhTien
     //
     this.clThanhTien.DataPropertyName = "ThanhTien";
     this.clThanhTien.HeaderText       = "Thành tiền";
     this.clThanhTien.MinimumWidth     = 50;
     this.clThanhTien.Name             = "clThanhTien";
     this.clThanhTien.ReadOnly         = true;
     this.clThanhTien.Resizable        = System.Windows.Forms.DataGridViewTriState.False;
     //
     // bteKhoDen
     //
     this.bteKhoDen.Location = new System.Drawing.Point(525, 44);
     this.bteKhoDen.Name     = "bteKhoDen";
     this.bteKhoDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.bteKhoDen.Size     = new System.Drawing.Size(415, 20);
     this.bteKhoDen.TabIndex = 40;
     //
     // txtKhoDi
     //
     this.txtKhoDi.Location = new System.Drawing.Point(117, 44);
     this.txtKhoDi.Name     = "txtKhoDi";
     this.txtKhoDi.Size     = new System.Drawing.Size(336, 21);
     this.txtKhoDi.TabIndex = 39;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(47, 44);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(45, 16);
     this.label5.TabIndex = 38;
     this.label5.Text     = "Kho đi";
     //
     // lblKhoHang
     //
     this.lblKhoHang.AutoSize = true;
     this.lblKhoHang.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblKhoHang.Location = new System.Drawing.Point(459, 44);
     this.lblKhoHang.Name     = "lblKhoHang";
     this.lblKhoHang.Size     = new System.Drawing.Size(56, 16);
     this.lblKhoHang.TabIndex = 37;
     this.lblKhoHang.Text     = "Kho đến";
     //
     // frm_PhieuDeNghiNhanDieuChuyen
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(953, 524);
     this.Controls.Add(this.bteKhoDen);
     this.Controls.Add(this.txtKhoDi);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.lblKhoHang);
     this.Controls.Add(this.txtSoCTG);
     this.Controls.Add(this.lblChungTuGoc);
     this.Name = "frm_PhieuDeNghiNhanDieuChuyen";
     this.Text = "Phiếu đề nghị nhận điều chuyển";
     this.Controls.SetChildIndex(this.btnXacNhan, 0);
     this.Controls.SetChildIndex(this.btnInPhieu, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.label4, 0);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.label3, 0);
     this.Controls.SetChildIndex(this.btnDong, 0);
     this.Controls.SetChildIndex(this.lblChungTuGoc, 0);
     this.Controls.SetChildIndex(this.dgvChiTiet, 0);
     this.Controls.SetChildIndex(this.txtSoPhieu, 0);
     this.Controls.SetChildIndex(this.txtGhiChu, 0);
     this.Controls.SetChildIndex(this.txtNguoiLap, 0);
     this.Controls.SetChildIndex(this.btnThemSP, 0);
     this.Controls.SetChildIndex(this.btnXoaSP, 0);
     this.Controls.SetChildIndex(this.btnChiTietMaVach, 0);
     this.Controls.SetChildIndex(this.btnCapNhat, 0);
     this.Controls.SetChildIndex(this.dtNgayLap, 0);
     this.Controls.SetChildIndex(this.txtSoCTG, 0);
     this.Controls.SetChildIndex(this.lblKhoHang, 0);
     this.Controls.SetChildIndex(this.label5, 0);
     this.Controls.SetChildIndex(this.txtKhoDi, 0);
     this.Controls.SetChildIndex(this.bteKhoDen, 0);
     ((System.ComponentModel.ISupportInitialize)(this.dgvChiTiet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSoPhieu.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteKhoDen.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 3
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDM_LyDoTraHang));
     this.btnTimKiem    = new QLBH.Core.Form.GtidButton();
     this.txtTimKiemTen = new QLBH.Core.Form.GtidTextBox();
     this.txtTimKiemMa  = new QLBH.Core.Form.GtidTextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.grpThucThi.SuspendLayout();
     this.grpThongTin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnTimKiem);
     this.groupBox1.Controls.Add(this.txtTimKiemTen);
     this.groupBox1.Controls.Add(this.txtTimKiemMa);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.label3);
     //
     // btnXoa
     //
     this.btnXoa.Text = "Xóa(F8)";
     //
     // btnDong
     //
     this.btnDong.Text = "Thoát(ESC)";
     //
     // btnCapNhat
     //
     this.btnCapNhat.Text = "Cập nhật(F2)";
     //
     // btnTimKiem
     //
     this.btnTimKiem.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnTimKiem.Font                    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.btnTimKiem.Image                   = ((System.Drawing.Image)(resources.GetObject("btnTimKiem.Image")));
     this.btnTimKiem.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnTimKiem.Location                = new System.Drawing.Point(808, 21);
     this.btnTimKiem.Margin                  = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnTimKiem.Name                    = "btnTimKiem";
     this.btnTimKiem.ShortCutKey             = System.Windows.Forms.Keys.F9;
     this.btnTimKiem.Size                    = new System.Drawing.Size(95, 25);
     this.btnTimKiem.TabIndex                = 24;
     this.btnTimKiem.Text                    = "Lọc(F9)";
     this.btnTimKiem.UseVisualStyleBackColor = true;
     this.btnTimKiem.Click                  += new System.EventHandler(this.btnTimKiem_Click);
     //
     // txtTimKiemTen
     //
     this.txtTimKiemTen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTimKiemTen.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtTimKiemTen.Location = new System.Drawing.Point(462, 24);
     this.txtTimKiemTen.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtTimKiemTen.Name     = "txtTimKiemTen";
     this.txtTimKiemTen.Size     = new System.Drawing.Size(325, 22);
     this.txtTimKiemTen.TabIndex = 23;
     //
     // txtTimKiemMa
     //
     this.txtTimKiemMa.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.txtTimKiemMa.Location = new System.Drawing.Point(90, 24);
     this.txtTimKiemMa.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtTimKiemMa.Name     = "txtTimKiemMa";
     this.txtTimKiemMa.Size     = new System.Drawing.Size(262, 22);
     this.txtTimKiemMa.TabIndex = 22;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label4.Location = new System.Drawing.Point(384, 29);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(61, 16);
     this.label4.TabIndex = 21;
     this.label4.Text     = "Tên lý do";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
     this.label3.Location = new System.Drawing.Point(14, 29);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(58, 16);
     this.label3.TabIndex = 20;
     this.label3.Text     = "Mã lý do";
     //
     // frmDM_LyDoTraHang
     //
     this.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.Appearance.Font                 = new System.Drawing.Font("Arial", 10F);
     this.Appearance.Options.UseBackColor = true;
     this.Appearance.Options.UseFont      = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(7F, 16F);
     this.ClientSize         = new System.Drawing.Size(937, 686);
     this.Location           = new System.Drawing.Point(0, 0);
     this.Name               = "frmDM_LyDoTraHang";
     this.Text               = "Danh mục lý do trả hàng";
     this.OnThemMoi         += new System.EventHandler(this.frmDM_LyDoTraHang_OnThemMoi);
     this.OnXoa             += new System.EventHandler(this.frmDM_LyDoTraHang_OnXoa);
     this.OnCapNhat         += new System.EventHandler(this.frmDM_LyDoTraHang_OnCapNhat);
     this.OnGridCellClick   += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.frmDM_LyDoTraHang_OnGridCellClick);
     this.OnGridDoubleClick += new System.EventHandler(this.frmDM_LyDoTraHang_OnGridDoubleClick);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.grpThucThi.ResumeLayout(false);
     this.grpThongTin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 4
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDM_HangHoa));
     this.btnFilter    = new QLBH.Core.Form.GtidSimpleButton();
     this.label8       = new System.Windows.Forms.Label();
     this.txtFilterMa  = new QLBH.Core.Form.GtidTextBox();
     this.txtFilterTen = new QLBH.Core.Form.GtidTextBox();
     this.label9       = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.grpThucThi.SuspendLayout();
     this.grpThongTin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label9);
     this.groupBox1.Controls.Add(this.btnFilter);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.txtFilterMa);
     this.groupBox1.Controls.Add(this.txtFilterTen);
     this.groupBox1.Location = new System.Drawing.Point(10, 14);
     this.groupBox1.Margin   = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.groupBox1.Padding  = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.groupBox1.Size     = new System.Drawing.Size(917, 81);
     //
     // grpThucThi
     //
     this.grpThucThi.Location = new System.Drawing.Point(10, 426);
     //
     // grpThongTin
     //
     this.grpThongTin.Location = new System.Drawing.Point(9, 98);
     this.grpThongTin.Margin   = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.grpThongTin.Padding  = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.grpThongTin.Size     = new System.Drawing.Size(917, 328);
     //
     // grcBase
     //
     this.grcBase.Location = new System.Drawing.Point(8, 19);
     this.grcBase.Size     = new System.Drawing.Size(897, 301);
     //
     // btnXoa
     //
     this.btnXoa.Text = "Xóa(F8)";
     //
     // btnDong
     //
     this.btnDong.Text = "Thoát(ESC)";
     //
     // btnCapNhat
     //
     this.btnCapNhat.Text = "Cập nhật(F2)";
     //
     // btnFilter
     //
     this.btnFilter.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnFilter.Appearance.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnFilter.Appearance.Options.UseFont = true;
     this.btnFilter.Image       = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Location    = new System.Drawing.Point(809, 28);
     this.btnFilter.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnFilter.Name        = "btnFilter";
     this.btnFilter.ShortCutKey = System.Windows.Forms.Keys.F9;
     this.btnFilter.Size        = new System.Drawing.Size(95, 25);
     this.btnFilter.TabIndex    = 11;
     this.btnFilter.Text        = "Lọc(F9)";
     this.btnFilter.Click      += new System.EventHandler(this.btnFilter_Click);
     //
     // label8
     //
     this.label8.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label8.AutoSize  = true;
     this.label8.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.Color.Black;
     this.label8.Location  = new System.Drawing.Point(21, 34);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(84, 16);
     this.label8.TabIndex  = 7;
     this.label8.Text      = "Mã mặt hàng";
     //
     // txtFilterMa
     //
     this.txtFilterMa.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtFilterMa.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFilterMa.Location  = new System.Drawing.Point(112, 31);
     this.txtFilterMa.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterMa.MaxLength = 50;
     this.txtFilterMa.Name      = "txtFilterMa";
     this.txtFilterMa.Size      = new System.Drawing.Size(272, 22);
     this.txtFilterMa.TabIndex  = 10;
     //
     // txtFilterTen
     //
     this.txtFilterTen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFilterTen.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFilterTen.Location  = new System.Drawing.Point(489, 30);
     this.txtFilterTen.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterTen.MaxLength = 1000;
     this.txtFilterTen.Name      = "txtFilterTen";
     this.txtFilterTen.Size      = new System.Drawing.Size(310, 22);
     this.txtFilterTen.TabIndex  = 9;
     //
     // label9
     //
     this.label9.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label9.AutoSize  = true;
     this.label9.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.Black;
     this.label9.Location  = new System.Drawing.Point(396, 34);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(87, 16);
     this.label9.TabIndex  = 8;
     this.label9.Text      = "Tên mặt hàng";
     //
     // frmDM_HangHoa
     //
     this.Appearance.Font            = new System.Drawing.Font("Arial", 10F);
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions        = new System.Drawing.SizeF(7F, 16F);
     this.ClientSize         = new System.Drawing.Size(943, 512);
     this.Location           = new System.Drawing.Point(0, 0);
     this.Margin             = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.Name               = "frmDM_HangHoa";
     this.Load              += new System.EventHandler(this.frmDM_HangHoa_Load);
     this.OnThemMoi         += new System.EventHandler(this.frmDM_HangHoa_OnThemMoi);
     this.OnXoa             += new System.EventHandler(this.frmDM_HangHoa_OnXoa);
     this.OnCapNhat         += new System.EventHandler(this.frmDM_HangHoa_OnCapNhat);
     this.OnGridCellClick   += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.frmDM_HangHoa_OnGridCellClick);
     this.OnGridDoubleClick += new System.EventHandler(this.frmDM_HangHoa_OnGridDoubleClick);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.grpThucThi.ResumeLayout(false);
     this.grpThongTin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 5
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDM_LoaiThuChi));
     this.btnTimKiem    = new QLBH.Core.Form.GtidButton();
     this.txtTimKiemTen = new QLBH.Core.Form.GtidTextBox();
     this.txtTimKiemMa  = new QLBH.Core.Form.GtidTextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.grpThucThi.SuspendLayout();
     this.grpThongTin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvDanhSachMatHang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnTimKiem);
     this.groupBox1.Controls.Add(this.txtTimKiemTen);
     this.groupBox1.Controls.Add(this.txtTimKiemMa);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Size = new System.Drawing.Size(897, 71);
     //
     // grpThucThi
     //
     this.grpThucThi.Size = new System.Drawing.Size(906, 63);
     //
     // grpThongTin
     //
     this.grpThongTin.Size = new System.Drawing.Size(906, 519);
     this.grpThongTin.Text = "Danh sách loại thu chi";
     //
     // dgvDanhSachMatHang
     //
     this.dgvDanhSachMatHang.OptionsBehavior.AllowAddRows        = DevExpress.Utils.DefaultBoolean.False;
     this.dgvDanhSachMatHang.OptionsBehavior.AllowDeleteRows     = DevExpress.Utils.DefaultBoolean.False;
     this.dgvDanhSachMatHang.OptionsBehavior.AutoPopulateColumns = false;
     this.dgvDanhSachMatHang.OptionsBehavior.Editable            = false;
     this.dgvDanhSachMatHang.OptionsView.ShowAutoFilterRow       = true;
     //
     // grcBase
     //
     this.grcBase.Size = new System.Drawing.Size(894, 488);
     //
     // btnXoa
     //
     this.btnXoa.Text = "Xóa(F8)";
     //
     // btnDong
     //
     this.btnDong.Location = new System.Drawing.Point(799, 19);
     this.btnDong.Text     = "Thoát(ESC)";
     //
     // btnCapNhat
     //
     this.btnCapNhat.Text = "Cập nhật(F2)";
     //
     // btnExport
     //
     this.btnExport.Location = new System.Drawing.Point(698, 19);
     //
     // btnTimKiem
     //
     this.btnTimKiem.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnTimKiem.Appearance.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnTimKiem.Appearance.Options.UseFont = true;
     this.btnTimKiem.Image       = ((System.Drawing.Image)(resources.GetObject("btnTimKiem.Image")));
     this.btnTimKiem.Location    = new System.Drawing.Point(796, 20);
     this.btnTimKiem.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnTimKiem.Name        = "btnTimKiem";
     this.btnTimKiem.ShortCutKey = System.Windows.Forms.Keys.F9;
     this.btnTimKiem.Size        = new System.Drawing.Size(95, 25);
     this.btnTimKiem.TabIndex    = 19;
     this.btnTimKiem.Text        = "Lọc(F9)";
     this.btnTimKiem.Click      += new System.EventHandler(this.btnTimKiem_Click);
     //
     // txtTimKiemTen
     //
     this.txtTimKiemTen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTimKiemTen.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTimKiemTen.Location = new System.Drawing.Point(471, 23);
     this.txtTimKiemTen.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtTimKiemTen.Name     = "txtTimKiemTen";
     this.txtTimKiemTen.Size     = new System.Drawing.Size(310, 22);
     this.txtTimKiemTen.TabIndex = 18;
     //
     // txtTimKiemMa
     //
     this.txtTimKiemMa.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTimKiemMa.Location = new System.Drawing.Point(105, 23);
     this.txtTimKiemMa.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtTimKiemMa.Name     = "txtTimKiemMa";
     this.txtTimKiemMa.Size     = new System.Drawing.Size(262, 22);
     this.txtTimKiemMa.TabIndex = 17;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(371, 28);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(96, 16);
     this.label4.TabIndex = 16;
     this.label4.Text     = "Tên loại thu chi";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(7, 28);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(93, 16);
     this.label3.TabIndex = 15;
     this.label3.Text     = "Mã loại thu chi";
     //
     // frmDM_LoaiThuChi
     //
     this.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.Appearance.Font                 = new System.Drawing.Font("Arial", 10F);
     this.Appearance.Options.UseBackColor = true;
     this.Appearance.Options.UseFont      = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(7F, 16F);
     this.ClientSize         = new System.Drawing.Size(923, 686);
     this.Location           = new System.Drawing.Point(0, 0);
     this.Margin             = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.Name               = "frmDM_LoaiThuChi";
     this.Text               = "Danh mục thu chi";
     this.OnThemMoi         += new System.EventHandler(this.frmDM_LoaiThuChi_OnThemMoi);
     this.OnXoa             += new System.EventHandler(this.frmDM_LoaiThuChi_OnXoa);
     this.OnCapNhat         += new System.EventHandler(this.frmDM_LoaiThuChi_OnCapNhat);
     this.OnGridCellClick   += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.frmDM_LoaiThuChi_OnGridCellClick);
     this.OnGridDoubleClick += new System.EventHandler(this.frmDM_LoaiThuChi_OnGridDoubleClick);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.grpThucThi.ResumeLayout(false);
     this.grpThongTin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvDanhSachMatHang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 6
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDM_KhachHang));
     this.label7       = new System.Windows.Forms.Label();
     this.label6       = new System.Windows.Forms.Label();
     this.btnFilter    = new QLBH.Core.Form.GtidButton();
     this.txtFilterTen = new QLBH.Core.Form.GtidTextBox();
     this.txtFilterMa  = new QLBH.Core.Form.GtidTextBox();
     this.groupBox1.SuspendLayout();
     this.grpThucThi.SuspendLayout();
     this.grpThongTin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnFilter);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.txtFilterTen);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.txtFilterMa);
     //
     // grpThongTin
     //
     this.grpThongTin.Text = "Danh sách khách hàng";
     //
     // btnXoa
     //
     this.btnXoa.Text = "Xóa(F8)";
     //
     // btnDong
     //
     this.btnDong.Text = "Thoát(ESC)";
     //
     // btnCapNhat
     //
     this.btnCapNhat.Text = "Cập nhật(F2)";
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.Black;
     this.label7.Location  = new System.Drawing.Point(7, 30);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(97, 16);
     this.label7.TabIndex  = 6;
     this.label7.Text      = "Mã khách hàng";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.Black;
     this.label6.Location  = new System.Drawing.Point(387, 30);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(100, 16);
     this.label6.TabIndex  = 5;
     this.label6.Text      = "Tên khách hàng";
     //
     // btnFilter
     //
     this.btnFilter.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnFilter.Appearance.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnFilter.Appearance.Options.UseFont = true;
     this.btnFilter.Image       = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Location    = new System.Drawing.Point(808, 24);
     this.btnFilter.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnFilter.Name        = "btnFilter";
     this.btnFilter.ShortCutKey = System.Windows.Forms.Keys.F9;
     this.btnFilter.Size        = new System.Drawing.Size(95, 25);
     this.btnFilter.TabIndex    = 9;
     this.btnFilter.Text        = "Lọc(F9)";
     this.btnFilter.Click      += new System.EventHandler(this.btnFilter_Click);
     //
     // txtFilterTen
     //
     this.txtFilterTen.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.txtFilterTen.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFilterTen.ForeColor = System.Drawing.Color.Black;
     this.txtFilterTen.Location  = new System.Drawing.Point(486, 25);
     this.txtFilterTen.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterTen.MaxLength = 150;
     this.txtFilterTen.Name      = "txtFilterTen";
     this.txtFilterTen.Size      = new System.Drawing.Size(310, 22);
     this.txtFilterTen.TabIndex  = 8;
     //
     // txtFilterMa
     //
     this.txtFilterMa.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     this.txtFilterMa.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFilterMa.ForeColor = System.Drawing.Color.Black;
     this.txtFilterMa.Location  = new System.Drawing.Point(110, 25);
     this.txtFilterMa.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterMa.MaxLength = 15;
     this.txtFilterMa.Name      = "txtFilterMa";
     this.txtFilterMa.Size      = new System.Drawing.Size(271, 22);
     this.txtFilterMa.TabIndex  = 7;
     //
     // frmDM_KhachHang
     //
     this.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.Appearance.Font                 = new System.Drawing.Font("Arial", 10F);
     this.Appearance.Options.UseBackColor = true;
     this.Appearance.Options.UseFont      = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(7F, 16F);
     this.ClientSize         = new System.Drawing.Size(937, 686);
     this.Location           = new System.Drawing.Point(0, 0);
     this.Margin             = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.Name               = "frmDM_KhachHang";
     this.Text               = "Danh mục khách hàng";
     this.OnThemMoi         += new System.EventHandler(this.frmDM_KhachHang_OnThemMoi);
     this.OnXoa             += new System.EventHandler(this.frmDM_KhachHang_OnXoa);
     this.OnCapNhat         += new System.EventHandler(this.frmDM_KhachHang_OnCapNhat);
     this.OnGridCellClick   += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.frmDM_KhachHang_OnGridCellClick);
     this.OnGridDoubleClick += new System.EventHandler(this.frmDM_KhachHang_OnGridDoubleClick);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.grpThucThi.ResumeLayout(false);
     this.grpThongTin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 7
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_PhieuNhanDieuChuyen));
     this.clMaSanPham   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clTenSanPham  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clSoLuong     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clDonGia      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clThanhTien   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.txtSoCTG      = new QLBH.Core.Form.GtidTextBox();
     this.lblChungTuGoc = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.bteKhoDen.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteKhoDi.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteNguoiVanChuyen.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteNguoiUyNhiem.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvChiTiet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSoPhieu.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // bteKhoDen
     //
     //
     // bteKhoDi
     //
     //
     // bteNguoiVanChuyen
     //
     //
     // bteNguoiUyNhiem
     //
     //
     // btnThemSP
     //
     this.btnThemSP.Image = ((System.Drawing.Image)(resources.GetObject("btnThemSP.Image")));
     //
     // dgvChiTiet
     //
     this.dgvChiTiet.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.clMaSanPham,
         this.clTenSanPham,
         this.clSoLuong,
         this.clDonGia,
         this.clThanhTien
     });
     this.dgvChiTiet.Location = new System.Drawing.Point(12, 180);
     this.dgvChiTiet.Size     = new System.Drawing.Size(929, 300);
     this.dgvChiTiet.Enter   += new System.EventHandler(this.dgvChiTiet_Enter);
     //
     // txtGhiChu
     //
     this.txtGhiChu.Location = new System.Drawing.Point(117, 153);
     //
     // btnChiTietMaVach
     //
     this.btnChiTietMaVach.Click += new System.EventHandler(this.btnChiTietMaVach_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(2, 20);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(20, 153);
     //
     // btnInPhieu
     //
     this.btnInPhieu.Click += new System.EventHandler(this.btnInPhieu_Click);
     //
     // txtSoPhieu
     //
     this.txtSoPhieu.Properties.AppearanceReadOnly.BackColor            = System.Drawing.Color.White;
     this.txtSoPhieu.Properties.AppearanceReadOnly.BackColor2           = System.Drawing.Color.White;
     this.txtSoPhieu.Properties.AppearanceReadOnly.ForeColor            = System.Drawing.SystemColors.InfoText;
     this.txtSoPhieu.Properties.AppearanceReadOnly.Options.UseBackColor = true;
     this.txtSoPhieu.Properties.AppearanceReadOnly.Options.UseForeColor = true;
     //
     // clMaSanPham
     //
     this.clMaSanPham.DataPropertyName = "MaSanPham";
     this.clMaSanPham.HeaderText       = "Mã sản phẩm";
     this.clMaSanPham.MinimumWidth     = 150;
     this.clMaSanPham.Name             = "clMaSanPham";
     this.clMaSanPham.ReadOnly         = true;
     this.clMaSanPham.Width            = 200;
     //
     // clTenSanPham
     //
     this.clTenSanPham.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.clTenSanPham.DataPropertyName = "TenSanPham";
     this.clTenSanPham.HeaderText       = "Tên sản phẩm";
     this.clTenSanPham.MinimumWidth     = 200;
     this.clTenSanPham.Name             = "clTenSanPham";
     this.clTenSanPham.ReadOnly         = true;
     //
     // clSoLuong
     //
     this.clSoLuong.DataPropertyName = "SoLuong";
     this.clSoLuong.HeaderText       = "Số lượng";
     this.clSoLuong.MinimumWidth     = 100;
     this.clSoLuong.Name             = "clSoLuong";
     this.clSoLuong.ReadOnly         = true;
     //
     // clDonGia
     //
     this.clDonGia.DataPropertyName = "DonGia";
     this.clDonGia.HeaderText       = "Đơn giá";
     this.clDonGia.MinimumWidth     = 50;
     this.clDonGia.Name             = "clDonGia";
     this.clDonGia.ReadOnly         = true;
     //
     // clThanhTien
     //
     this.clThanhTien.DataPropertyName = "ThanhTien";
     this.clThanhTien.HeaderText       = "Thành tiền";
     this.clThanhTien.MinimumWidth     = 50;
     this.clThanhTien.Name             = "clThanhTien";
     this.clThanhTien.ReadOnly         = true;
     //
     // txtSoCTG
     //
     this.txtSoCTG.Location = new System.Drawing.Point(118, 128);
     this.txtSoCTG.Name     = "txtSoCTG";
     this.txtSoCTG.Size     = new System.Drawing.Size(336, 21);
     this.txtSoCTG.TabIndex = 50;
     //
     // lblChungTuGoc
     //
     this.lblChungTuGoc.AutoSize = true;
     this.lblChungTuGoc.Font     = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblChungTuGoc.Location = new System.Drawing.Point(21, 133);
     this.lblChungTuGoc.Name     = "lblChungTuGoc";
     this.lblChungTuGoc.Size     = new System.Drawing.Size(54, 16);
     this.lblChungTuGoc.TabIndex = 51;
     this.lblChungTuGoc.Text     = "Số CTG";
     //
     // frm_PhieuNhanDieuChuyen
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(953, 524);
     this.Controls.Add(this.txtSoCTG);
     this.Controls.Add(this.lblChungTuGoc);
     this.Name = "frm_PhieuNhanDieuChuyen";
     this.Text = "Phiếu nhận điều chuyển";
     this.Controls.SetChildIndex(this.bteNguoiVanChuyen, 0);
     this.Controls.SetChildIndex(this.bteNguoiUyNhiem, 0);
     this.Controls.SetChildIndex(this.label4, 0);
     this.Controls.SetChildIndex(this.txtGhiChu, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.dgvChiTiet, 0);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.label3, 0);
     this.Controls.SetChildIndex(this.txtNguoiLap, 0);
     this.Controls.SetChildIndex(this.btnThemSP, 0);
     this.Controls.SetChildIndex(this.btnXoaSP, 0);
     this.Controls.SetChildIndex(this.btnChiTietMaVach, 0);
     this.Controls.SetChildIndex(this.btnCapNhat, 0);
     this.Controls.SetChildIndex(this.btnDong, 0);
     this.Controls.SetChildIndex(this.dtNgayLap, 0);
     this.Controls.SetChildIndex(this.btnInPhieu, 0);
     this.Controls.SetChildIndex(this.btnXacNhan, 0);
     this.Controls.SetChildIndex(this.txtSoPhieu, 0);
     this.Controls.SetChildIndex(this.bteKhoDen, 0);
     this.Controls.SetChildIndex(this.bteKhoDi, 0);
     this.Controls.SetChildIndex(this.lblChungTuGoc, 0);
     this.Controls.SetChildIndex(this.txtSoCTG, 0);
     ((System.ComponentModel.ISupportInitialize)(this.bteKhoDen.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteKhoDi.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteNguoiVanChuyen.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bteNguoiUyNhiem.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvChiTiet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSoPhieu.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 8
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDM_NhanVien));
     this.cboChucDanhS = new System.Windows.Forms.ComboBox();
     this.label11      = new System.Windows.Forms.Label();
     this.btnFilter    = new QLBH.Core.Form.GtidButton();
     this.label12      = new System.Windows.Forms.Label();
     this.txtFilterTen = new QLBH.Core.Form.GtidTextBox();
     this.cboPhongBanS = new System.Windows.Forms.ComboBox();
     this.label8       = new System.Windows.Forms.Label();
     this.txtFilterMa  = new QLBH.Core.Form.GtidTextBox();
     this.label7       = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.grpThucThi.SuspendLayout();
     this.grpThongTin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cboChucDanhS);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.Controls.Add(this.btnFilter);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.txtFilterTen);
     this.groupBox1.Controls.Add(this.cboPhongBanS);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.txtFilterMa);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Font    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Margin  = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.groupBox1.Size    = new System.Drawing.Size(911, 102);
     //
     // grpThucThi
     //
     this.grpThucThi.Location = new System.Drawing.Point(6, 390);
     //
     // grpThongTin
     //
     this.grpThongTin.Location = new System.Drawing.Point(11, 119);
     this.grpThongTin.Margin   = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.grpThongTin.Padding  = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.grpThongTin.Size     = new System.Drawing.Size(911, 264);
     this.grpThongTin.Text     = "Danh sách nhân viên";
     //
     // grcBase
     //
     this.grcBase.Size = new System.Drawing.Size(897, 232);
     //
     // btnXoa
     //
     this.btnXoa.Text = "Xóa(F8)";
     //
     // btnDong
     //
     this.btnDong.Text = "Thoát(ESC)";
     //
     // btnCapNhat
     //
     this.btnCapNhat.Text = "Cập nhật(F2)";
     //
     // cboChucDanhS
     //
     this.cboChucDanhS.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.cboChucDanhS.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboChucDanhS.FormattingEnabled = true;
     this.cboChucDanhS.Location          = new System.Drawing.Point(494, 53);
     this.cboChucDanhS.Margin            = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.cboChucDanhS.Name     = "cboChucDanhS";
     this.cboChucDanhS.Size     = new System.Drawing.Size(326, 24);
     this.cboChucDanhS.TabIndex = 37;
     //
     // label11
     //
     this.label11.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(418, 57);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(72, 16);
     this.label11.TabIndex = 39;
     this.label11.Text     = "Chức danh";
     //
     // btnFilter
     //
     this.btnFilter.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnFilter.Appearance.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnFilter.Appearance.Options.UseFont = true;
     this.btnFilter.Image       = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Location    = new System.Drawing.Point(809, 19);
     this.btnFilter.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnFilter.Name        = "btnFilter";
     this.btnFilter.ShortCutKey = System.Windows.Forms.Keys.F9;
     this.btnFilter.Size        = new System.Drawing.Size(95, 25);
     this.btnFilter.TabIndex    = 35;
     this.btnFilter.Text        = "Lọc(F9)";
     this.btnFilter.Click      += new System.EventHandler(this.btnFilter_Click);
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.ForeColor = System.Drawing.Color.Black;
     this.label12.Location  = new System.Drawing.Point(7, 57);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(70, 16);
     this.label12.TabIndex  = 38;
     this.label12.Text      = "Phòng ban";
     //
     // txtFilterTen
     //
     this.txtFilterTen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFilterTen.Location = new System.Drawing.Point(494, 22);
     this.txtFilterTen.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterTen.Name     = "txtFilterTen";
     this.txtFilterTen.Size     = new System.Drawing.Size(310, 22);
     this.txtFilterTen.TabIndex = 34;
     //
     // cboPhongBanS
     //
     this.cboPhongBanS.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboPhongBanS.FormattingEnabled = true;
     this.cboPhongBanS.Location          = new System.Drawing.Point(88, 53);
     this.cboPhongBanS.Margin            = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.cboPhongBanS.Name     = "cboPhongBanS";
     this.cboPhongBanS.Size     = new System.Drawing.Size(325, 24);
     this.cboPhongBanS.TabIndex = 36;
     //
     // label8
     //
     this.label8.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(418, 26);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(29, 16);
     this.label8.TabIndex = 31;
     this.label8.Text     = "Tên";
     //
     // txtFilterMa
     //
     this.txtFilterMa.Location = new System.Drawing.Point(89, 22);
     this.txtFilterMa.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtFilterMa.Name     = "txtFilterMa";
     this.txtFilterMa.Size     = new System.Drawing.Size(325, 22);
     this.txtFilterMa.TabIndex = 32;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(7, 28);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(26, 16);
     this.label7.TabIndex = 33;
     this.label7.Text     = "Mã";
     //
     // frmDM_NhanVien
     //
     this.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.Appearance.Font                 = new System.Drawing.Font("Arial", 10F);
     this.Appearance.Options.UseBackColor = true;
     this.Appearance.Options.UseFont      = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(7F, 16F);
     this.ClientSize         = new System.Drawing.Size(937, 466);
     this.Location           = new System.Drawing.Point(0, 0);
     this.Margin             = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.Name               = "frmDM_NhanVien";
     this.Text               = "Danh mục nhân viên";
     this.Load              += new System.EventHandler(this.frmDM_NhanVien_Load);
     this.OnThemMoi         += new System.EventHandler(this.frmDM_NhanVien_OnThemMoi);
     this.OnXoa             += new System.EventHandler(this.frmDM_NhanVien_OnXoa);
     this.OnCapNhat         += new System.EventHandler(this.frmDM_NhanVien_OnCapNhat);
     this.OnGridCellClick   += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.frmDM_NhanVien_OnGridCellClick);
     this.OnGridDoubleClick += new System.EventHandler(this.frmDM_NhanVien_OnGridDoubleClick);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.grpThucThi.ResumeLayout(false);
     this.grpThongTin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grcBase)).EndInit();
     this.ResumeLayout(false);
 }