Esempio n. 1
0
        void Build()
        {
            dgvObject.strZone = "OBJECT";
            dgvObject.Dock    = DockStyle.Fill;
            dgvObject.BuildGridView();

            this.Controls.Add(dgvObject);
        }
Esempio n. 2
0
        private void Build()
        {
            dgvGiaMua.Dock    = DockStyle.Fill;
            dgvGiaMua.strZone = "GiaMua";
            dgvGiaMua.BuildGridView();

            this.Controls.Add(dgvGiaMua);
        }
Esempio n. 3
0
        private void Build()
        {
            dgvKetChuyen.Dock    = DockStyle.Fill;
            dgvKetChuyen.strZone = "KETCHUYEN";
            dgvKetChuyen.BuildGridView(this.isLookup);

            this.splitContainer1.Panel1.Controls.Add(dgvKetChuyen);
        }
Esempio n. 4
0
        private void Build()
        {
            dgvQuyenSo.Dock    = DockStyle.Fill;
            dgvQuyenSo.strZone = "QuyenSo";
            dgvQuyenSo.BuildGridView();

            this.Controls.Add(dgvQuyenSo);
        }
Esempio n. 5
0
        private void Build()
        {
            dgvChangeID.Dock = DockStyle.Fill;

            dgvChangeID.strZone = "CHANGEID";
            dgvChangeID.BuildGridView(false);

            this.Controls.Add(dgvChangeID);
        }
Esempio n. 6
0
        private void Build()
        {
            dgvDuDauXdCb.Dock = DockStyle.Fill;

            this.Controls.Add(dgvDuDauXdCb);

            dgvDuDauXdCb.strZone = "GLDUDAUXDCB_VIEW";
            dgvDuDauXdCb.BuildGridView(false);
        }
Esempio n. 7
0
        private void Build()
        {
            dgvDmTg.Dock = DockStyle.Fill;

            this.Controls.Add(dgvDmTg);

            dgvDmTg.strZone = "DMTG";
            dgvDmTg.BuildGridView(this.isLookup);
        }
Esempio n. 8
0
        private void Build()
        {
            dgvChamCong.ReadOnly = true;
            dgvChamCong.strZone  = "ChamCong";
            dgvChamCong.Dock     = DockStyle.Fill;

            this.splitContainer1.Panel1.Controls.Add(dgvChamCong);
            dgvChamCong.BuildGridView();
        }
Esempio n. 9
0
        void Build()
        {
            dgvDmSoCt.Dock    = DockStyle.Fill;
            dgvDmSoCt.strZone = "DMSOCT";

            dgvDmSoCt.BuildGridView(this.isLookup);

            this.Controls.Add(dgvDmSoCt);
        }
Esempio n. 10
0
        private void Build()
        {
            dgvPmTb.Dock    = DockStyle.Fill;
            dgvPmTb.strZone = "PMTB";

            dgvPmTb.BuildGridView(this.isLookup);
            this.splitContainer1.Panel2.Controls.Add(dgvPmTb);
            //this.Controls.Add(dgvPmTb);
        }
Esempio n. 11
0
        private void Build()
        {
            dgvSdHtt.Dock    = DockStyle.Fill;
            dgvSdHtt.strZone = "GLDUDAUHANTT_VIEW";

            dgvSdHtt.BuildGridView(this.isLookup);

            this.Controls.Add(dgvSdHtt);
            this.ExportControl = dgvSdHtt;
        }
Esempio n. 12
0
        private void Build()
        {
            dgvTdCv.Dock    = DockStyle.Fill;
            dgvTdCv.strZone = "TDCV";

            dgvTdCv.BuildGridView(this.isLookup);

            this.splitContainer1.Panel2.Controls.Add(dgvTdCv);
            //this.Controls.Add(dgvTdCv);
        }
Esempio n. 13
0
        private void Build()
        {
            dgvVatTu.ReadOnly = true;
            dgvVatTu.strZone  = "VATTU";
            dgvVatTu.Dock     = DockStyle.Fill;

            this.Controls.Add(dgvVatTu);

            dgvVatTu.BuildGridView();
        }
Esempio n. 14
0
        private void Build()
        {
            dgvTsTn.ReadOnly = true;
            dgvTsTn.strZone  = "TSTN";
            dgvTsTn.Dock     = DockStyle.Fill;

            this.Controls.Add(dgvTsTn);

            dgvTsTn.BuildGridView();
        }
Esempio n. 15
0
        private void Build()
        {
            dgvTheoDoiXe.Dock    = DockStyle.Fill;
            dgvTheoDoiXe.strZone = "THEODOIXE";

            dgvTheoDoiXe.BuildGridView(this.isLookup);

            this.splitContainer1.Panel2.Controls.Add(dgvTheoDoiXe);
            //this.Controls.Add(dgvTheoDoiXe);
        }
Esempio n. 16
0
        private void Build()
        {
            dgvPhongVan.ReadOnly = true;
            dgvPhongVan.strZone  = "PHONGVAN";
            dgvPhongVan.Dock     = DockStyle.Fill;

            this.Controls.Add(dgvPhongVan);

            dgvPhongVan.BuildGridView();
        }
Esempio n. 17
0
		private void Build()
		{
			dgvCtCCDCDChinh.ReadOnly = true;
			dgvCtCCDCDChinh.strZone = "CtCCDCDChinh";
			dgvCtCCDCDChinh.Dock = DockStyle.Fill;

			this.Controls.Add(dgvCtCCDCDChinh);

			dgvCtCCDCDChinh.BuildGridView();
		}
Esempio n. 18
0
        private void Build()
        {
            dgvTuyenDungKH.ReadOnly = true;
            dgvTuyenDungKH.strZone  = "TUYENDUNGKH";
            dgvTuyenDungKH.Dock     = DockStyle.Fill;

            this.Controls.Add(dgvTuyenDungKH);

            dgvTuyenDungKH.BuildGridView();
        }
Esempio n. 19
0
        private void Build()
        {
            dgvCa.ReadOnly = true;
            dgvCa.strZone  = "CA";
            dgvCa.Dock     = DockStyle.Fill;

            this.Controls.Add(dgvCa);

            dgvCa.BuildGridView();
        }
Esempio n. 20
0
        private void Build()
        {
            dgvDaoTaoKH.ReadOnly = true;
            dgvDaoTaoKH.strZone  = "DaoTaoKH";
            dgvDaoTaoKH.Dock     = DockStyle.Fill;

            this.Controls.Add(dgvDaoTaoKH);

            dgvDaoTaoKH.BuildGridView();
        }
Esempio n. 21
0
        private void Build()
        {
            dgvDmCk.Location = new Point(3, 3);
            dgvDmCk.Size     = new Size(this.Size.Width - 22, this.Size.Height - 42);
            dgvDmCk.Anchor   = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
            dgvDmCk.strZone  = "DMCK";

            dgvDmCk.BuildGridView(this.isLookup);

            this.panel1.Controls.Add(dgvDmCk);
        }
Esempio n. 22
0
 private void Build()
 {
     //Build
     dgvKPIRank.strZone = "KPIRANK";
     dgvKPIRank.Dock    = DockStyle.Fill;
     dgvKPIRank.BuildGridView();
     //dgvKPIRank.Columns["ItemID"].Frozen = true;
     //dgvKPIRank.Columns["Description"].Frozen = true;
     //dgvKPIRank.Columns["ApplyFor"].Frozen = true;
     this.panel1.Controls.Add(dgvKPIRank);
 }
Esempio n. 23
0
        private void Build()
        {
            dgvTableLookup.Location = new Point(2, 2);
            dgvTableLookup.Size     = new Size(this.Size.Width - 20, this.Size.Height - 30);
            dgvTableLookup.Anchor   = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
            dgvTableLookup.strZone  = "TABLELOOKUP";

            dgvTableLookup.BuildGridView(this.isLookup);

            this.Controls.Add(dgvTableLookup);
        }
Esempio n. 24
0
        private void Build()
        {
            dgvDmMauCt.Location = new Point(3, 3);
            dgvDmMauCt.Size     = new Size(this.Size.Width - 12, this.Size.Height - 12);
            dgvDmMauCt.Anchor   = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
            dgvDmMauCt.strZone  = "DMMAUCT";

            dgvDmMauCt.BuildGridView(this.isLookup);

            this.Controls.Add(dgvDmMauCt);
        }
Esempio n. 25
0
        private void Build()
        {
            dgvPmVPP.Dock           = DockStyle.Fill;
            dgvPmVPP_Detail.Dock    = DockStyle.Fill;
            dgvPmVPP.strZone        = "PMVPP";
            dgvPmVPP_Detail.strZone = "PMVPP1";

            dgvPmVPP.BuildGridView(this.isLookup);
            dgvPmVPP_Detail.BuildGridView(this.isLookup);

            this.pnPmVPP.Controls.Add(dgvPmVPP);
            this.pnPmVPP_Detail.Controls.Add(dgvPmVPP_Detail);
            this.ExportControl = dgvPmVPP;
            this.ExportControl = dgvPmVPP_Detail;
        }
Esempio n. 26
0
        private void Build()
        {
            dgvType.Dock    = DockStyle.Fill;
            dgvType.strZone = "KPITYPE";
            dgvType.BuildGridView(this.isLookup);

            this.splControl1.Visible = true;
            this.splControl1.Dock    = DockStyle.Fill;

            if (isLookup)
            {
                this.splitContainer.Panel2.Controls.Add(splControl1);
                this.splControl1.Panel1.Controls.Add(dgvType);
            }
            else
            {
                this.splControl1.Panel1.Controls.Add(dgvType);
            }
        }
Esempio n. 27
0
        private void Build()
        {
            dgvNhanVien.Dock = DockStyle.Fill;

            if (isLookup)
            {
                this.splitContainer.Panel2.Controls.Add(splControl1);
                this.splControl1.Panel1.Controls.Add(dgvNhanVien);
            }
            else
            {
                this.splControl1.Panel1.Controls.Add(dgvNhanVien);
            }

            dgvNhanVien.strZone = "NhanVien";
            dgvNhanVien.BuildGridView(this.isLookup);

            ExportControl = dgvNhanVien;
        }
Esempio n. 28
0
        private void Build()
        {
            dgvNghiepVu.Dock = DockStyle.Fill;
            //this.Controls.Add(dgvNghiepVu);
            //this.Endable_Container();
            if (isLookup)
            {
                this.splitContainer.Panel2.Controls.Add(splControl1);
                this.splControl1.Panel1.Controls.Add(dgvNghiepVu);
            }
            else
            {
                this.splControl1.Panel1.Controls.Add(dgvNghiepVu);
            }

            dgvNghiepVu.strZone = "NghiepVu";
            dgvNghiepVu.BuildGridView(this.isLookup);

            ExportControl = dgvNghiepVu;
        }
Esempio n. 29
0
        private void Build()
        {
            dgvPermission.strZone = "PERMISSION";
            dgvPermission.BuildGridView();
            dgvPermission.Dock    = DockStyle.Fill;
            dgvPermission.Visible = true;

            dgvPermissionTk.strZone = "PERMISSION_ACCOUNT";
            dgvPermissionTk.BuildGridView();
            dgvPermissionTk.Dock    = DockStyle.Fill;
            dgvPermissionTk.Visible = false;

            dgvPermissionDvCs.strZone = "PERMISSION_DVCS";
            dgvPermissionDvCs.BuildGridView();
            dgvPermissionDvCs.Dock    = DockStyle.Fill;
            dgvPermissionDvCs.Visible = false;

            pnlPermission.Controls.Add(dgvPermission);
            pnlPermission.Controls.Add(dgvPermissionTk);
            pnlPermission.Controls.Add(dgvPermissionDvCs);
        }
Esempio n. 30
0
        private void Build()
        {
            dgvQuickLookup.Dock     = DockStyle.Fill;
            dgvQuickLookup.ReadOnly = true;
            dgvQuickLookup.strZone  = this.strZone;

            dgvQuickLookup.BuildGridView(this.isLookup);

            this.Controls.Add(dgvQuickLookup);

            //dgvQuickLookup.ResizeGridView();

            if (bMuiltiLookup)
            {
                DataGridViewCheckBoxColumn dgvchkBoxColumn = new DataGridViewCheckBoxColumn();
                dgvchkBoxColumn.DataPropertyName = "SELECT";
                dgvchkBoxColumn.Name             = "SELECT";
                dgvchkBoxColumn.Width            = 40;

                dgvQuickLookup.Columns.Insert(0, dgvchkBoxColumn);
            }
        }