private void Build() { tlVatTuNh.KeyFieldName = "MA_NH_VT"; tlVatTuNh.ParentFieldName = "MA_NH_VT_CHA"; tlVatTuNh.Dock = DockStyle.Fill; tlVatTuNh.strZone = "VatTuNh"; tlVatTuNh.BuildTreeList(this.isLookup); //this.pnlMa_Nh_Vt.Controls.Add(tlVatTuNh); //this.pnlMa_Vt.Controls.Add(dgvVatTu); dgvVatTu.Dock = DockStyle.Fill; dgvVatTu.strZone = "VatTu"; dgvVatTu.BuildGridView(this.isLookup); this.splitVatTu.Panel1.Controls.Add(tlVatTuNh); this.splitVatTu.Panel2.Controls.Add(dgvVatTu); if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(splitVatTu); } else { this.splControl1.Panel1.Controls.Add(splitVatTu); } }
private void Build() { tlDoiTuongNh.KeyFieldName = "MA_NH_DT"; tlDoiTuongNh.ParentFieldName = "MA_NH_DT_CHA"; tlDoiTuongNh.Dock = DockStyle.Fill; tlDoiTuongNh.strZone = "DoiTuongNh"; tlDoiTuongNh.BuildTreeList(this.isLookup); //this.pnlMa_Nh_Vt.Controls.Add(tlVatTuNh); //this.pnlMa_Vt.Controls.Add(dgvVatTu); dgvDoiTuong.Dock = DockStyle.Fill; dgvDoiTuong.strZone = "DoiTuong"; dgvDoiTuong.BuildGridView(this.isLookup); ExportControl = dgvDoiTuong; this.splitDoiTuong.Panel1.Controls.Add(tlDoiTuongNh); this.splitDoiTuong.Panel2.Controls.Add(dgvDoiTuong); if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(splitDoiTuong); } else { this.splControl1.Panel1.Controls.Add(splitDoiTuong); } }
void BuildTree() { tlMenu = new tlControl(); tlModule = new tlControl(); //tlModule tlModule.Name = "tlModule"; tlModule.Dock = DockStyle.Fill; tlModule.KeyFieldName = "MODULE_ID"; tlModule.ParentFieldName = "MODULE_PARENT"; tapgModule.Controls.Add(tlModule); tlModule.strZone = "MODULE"; tlModule.BuildTreeList(false); //tlMenu tlMenu.Name = "tlMenu"; tlMenu.Dock = DockStyle.Fill; tlMenu.KeyFieldName = "MENU_ID"; tlMenu.ParentFieldName = "MENU_PARENT"; tapgMenu.Controls.Add(tlMenu); tlMenu.strZone = "MENU"; tlMenu.BuildTreeList(false); }
private void Build() { tlDmCbNv.KeyFieldName = "MA_CBNV"; tlDmCbNv.ParentFieldName = "MA_BP"; tlDmCbNv.Dock = DockStyle.Fill; tlDmCbNv.strZone = "EMPLOYEE"; tlDmCbNv.BuildTreeList(this.isLookup); this.splControl1.Visible = false; this.pageEmployee.Controls.Add(tlDmCbNv); dgvGiaDinh.strZone = "GIADINH"; dgvGiaDinh.BuildGridView(); dgvCongTac.strZone = "CONGTAC"; dgvCongTac.BuildGridView(); dgvDaoTao.strZone = "DAOTAO"; dgvDaoTao.BuildGridView(); dgvKhenThuong.strZone = "KHENTHUONG"; dgvKhenThuong.BuildGridView(); dgvDanhGia.strZone = "DANHGIA"; dgvDanhGia.BuildGridView(); dgvKinhNghiem.strZone = "KINHNGHIEM"; dgvKinhNghiem.BuildGridView(); dgvKyNang.strZone = "KYNANG"; dgvKyNang.BuildGridView(); }
void Build() { tlDoiTuongNh.KeyFieldName = "MA_NH_DT"; tlDoiTuongNh.ParentFieldName = "MA_NH_DT_CHA"; tlDoiTuongNh.Dock = DockStyle.Fill; if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlDoiTuongNh); } else { this.splControl1.Panel1.Controls.Add(tlDoiTuongNh); } //dgvDoiTuong.strZone = "DoiTuong"; //dgvDoiTuong.BuildGridView(this.isLookup); //ExportControl = dgvDoiTuong; //this.Controls.Add(tlDoiTuongNh); tlDoiTuongNh.strZone = "DoiTuongNh"; tlDoiTuongNh.BuildTreeList(this.isLookup); ExportControl = tlDoiTuongNh; tlDoiTuongNh.Focus(); }
void Build() { tlDmNhTs.KeyFieldName = "MA_NH_TS"; tlDmNhTs.ParentFieldName = "MA_NH_TS_CHA"; tlDmNhTs.Dock = DockStyle.Fill; this.Controls.Add(tlDmNhTs); tlDmNhTs.strZone = "DMNHTS"; tlDmNhTs.BuildTreeList(this.isLookup); }
private void Build() { tlDmTable.KeyFieldName = "TABLE_NAME"; tlDmTable.ParentFieldName = "TABLE_TYPE"; tlDmTable.Dock = DockStyle.Fill; tlDmTable.strZone = "DMTABLE"; tlDmTable.BuildTreeList(false); this.Controls.Add(tlDmTable); }
private void Build() { tlParameters.KeyFieldName = "PARAMETER_ID"; tlParameters.ParentFieldName = "PARAMETER_ID_PARENT"; tlParameters.Dock = DockStyle.Fill; tlParameters.strZone = "PARAMETERS_GRID2"; tlParameters.BuildTreeList(false); this.Controls.Add(tlParameters); }
private void Build() { tlLanguages.KeyFieldName = "LANGUAGE_ID"; tlLanguages.ParentFieldName = "LANGUAGE_PARENT"; tlLanguages.Dock = DockStyle.Fill; tlLanguages.strZone = "LANGUAGES"; tlLanguages.BuildTreeList(this.isLookup); this.Controls.Add(tlLanguages); }
public static tlControl GetTreeViewCust(bool isLookup) { tlControl tlDmCbNv = new tlControl(); tlDmCbNv.KeyFieldName = "MA_CBNV"; tlDmCbNv.ParentFieldName = "MA_TH"; tlDmCbNv.strZone = "EMPLOYEE"; tlDmCbNv.Dock = DockStyle.Fill; tlDmCbNv.BuildTreeList(isLookup); return(tlDmCbNv); }
void Build() { tlCustomer.strZone = "CUSTOMER"; tlCustomer.Dock = DockStyle.Fill; tlCustomer.KeyFieldName = "MA_DT"; tlCustomer.ParentFieldName = "PARENTFIELD"; tlCustomer.BuildTreeList(); pageCustomer.Controls.Add(tlCustomer); dgvSaleHistosy.strZone = "SALEHISTORY"; dgvSaleHistosy.BuildGridView(); }
private void Build() { tlResource.KeyFieldName = "FILE_ID"; tlResource.ParentFieldName = "MA_NHOM"; tlResource.Dock = DockStyle.Fill; this.splitContainer_Resource.Panel2.Controls.Add(tlResource); //this.Controls.Add(tlResource); //this.pnlControl2.Controls.Add(tlResource); tlResource.strZone = "RESOURCE"; tlResource.BuildTreeList(this.isLookup); }
private void Build() { tlDmCbNv.KeyFieldName = "MA_CBNV"; tlDmCbNv.ParentFieldName = "MA_BP"; tlDmCbNv.Dock = DockStyle.Fill; tlDmCbNv.strZone = "EMPLOYEE"; tlDmCbNv.BuildTreeList(this.isLookup); this.splControl1.Visible = false; this.pageEmployee.Controls.Add(tlDmCbNv); dgvCongTrinh.strZone = "CongTrinh"; dgvCongTrinh.BuildGridView(); }
private void Build() { tlDmDvCs_DefaultList.KeyFieldName = "MA_DM"; tlDmDvCs_DefaultList.ParentFieldName = "MA_DM"; tlDmDvCs_DefaultList.Dock = DockStyle.Fill; tlDmDvCs_DefaultList.strZone = "DMDVCS_DEFAULTLIST"; tlDmDvCs_DefaultList.BuildTreeList(this.isLookup); if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlDmDvCs_DefaultList); } else { this.splControl1.Panel1.Controls.Add(tlDmDvCs_DefaultList); } }
void Build() { tlDoiTuongNh.KeyFieldName = "MA_NH_DT"; tlDoiTuongNh.ParentFieldName = "MA_NH_DT_CHA"; tlDoiTuongNh.Dock = DockStyle.Fill; tlDoiTuongNh.strZone = "DoiTuongNh"; tlDoiTuongNh.BuildTreeList(this.isLookup); if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlDoiTuongNh); } else { this.splControl1.Panel1.Controls.Add(tlDoiTuongNh); } }
private void Build() { tlKhuVuc.KeyFieldName = "MA_KV"; tlKhuVuc.ParentFieldName = "MA_KV_CHA"; tlKhuVuc.Dock = DockStyle.Fill; tlKhuVuc.strZone = "KhuVuc"; tlKhuVuc.BuildTreeList(this.isLookup); this.splControl1.Visible = true; this.splControl1.Dock = DockStyle.Fill; if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlKhuVuc); } else { this.splControl1.Panel1.Controls.Add(tlKhuVuc); } }
private void Build() { tlVatTuNh.KeyFieldName = "MA_NH_VT"; tlVatTuNh.ParentFieldName = "MA_NH_VT_CHA"; tlVatTuNh.Dock = DockStyle.Fill; if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlVatTuNh); } else { this.splControl1.Panel1.Controls.Add(tlVatTuNh); } tlVatTuNh.strZone = "VatTuNh"; tlVatTuNh.BuildTreeList(this.isLookup); //this.Controls.Add(tlVatTuNh); }
private void Build() { tlViTri.KeyFieldName = "MA_VITRI"; tlViTri.ParentFieldName = "MA_VITRI_CHA"; tlViTri.Dock = DockStyle.Fill; tlViTri.strZone = "ViTri"; tlViTri.BuildTreeList(this.isLookup); this.splControl1.Visible = true; this.splControl1.Dock = DockStyle.Fill; if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlViTri); } else { this.splControl1.Panel1.Controls.Add(tlViTri); } }
private void Build() { tlBoPhan.KeyFieldName = "MA_BP"; tlBoPhan.ParentFieldName = "MA_BP_CHA"; tlBoPhan.Dock = DockStyle.Fill; tlBoPhan.strZone = "BoPhan"; tlBoPhan.BuildTreeList(this.isLookup); this.splControl1.Visible = true; this.splControl1.Dock = DockStyle.Fill; if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlBoPhan); } else { this.splControl1.Panel1.Controls.Add(tlBoPhan); } }
private void Build() { tlResource.KeyFieldName = "FILE_ID"; tlResource.ParentFieldName = "MA_NHOM"; tlResource.Dock = DockStyle.Fill; tlResource.strZone = "RESOURCE_VER"; tlResource.BuildTreeList(this.isLookup); //this.splitContainer1.Panel2.Controls.Add(tlResource); this.splControl1.Visible = true; if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlResource); } else { this.splControl1.Dock = DockStyle.Fill; this.splControl1.Panel1.Controls.Add(tlResource); } }
private void Build() { tlTuyen.KeyFieldName = "MA_TUYEN"; tlTuyen.ParentFieldName = "MA_TUYEN_CHA"; tlTuyen.Dock = DockStyle.Fill; tlTuyen.strZone = "TUYENBH"; tlTuyen.BuildTreeList(this.isLookup); if (isLookup) { this.splitContainer.Panel2.Controls.Add(splControl1); this.splControl1.Panel1.Controls.Add(tlTuyen); } else { this.splControl1.Panel1.Controls.Add(tlTuyen); } ExportControl = tlTuyen; //this.Controls.Add(tlTuyen); }