private void LoadComboBox() { SelectedCbx sel = new SelectedCbx(); this.cbxKhoXuat.DataSource = sel.GetCbxKhoVT(false); this.cbxKhoXuat.DisplayMember = "DisplayMember"; this.cbxKhoXuat.ValueMember = "ValueMember"; this.cbxKhoYC.DataSource = sel.GetCbxKhoVT(false); this.cbxKhoYC.DisplayMember = "DisplayMember"; this.cbxKhoYC.ValueMember = "ValueMember"; }
private void LoadCombobox() { SelectedCbx sel = new SelectedCbx(); this.cbxSearchKho.DataSource = sel.GetCbxKhoVT(true); this.cbxSearchKho.DisplayMember = "DisplayMember"; this.cbxSearchKho.ValueMember = "ValueMember"; this.cbxSearchKhoYC.DataSource = sel.GetCbxKhoVT(true); this.cbxSearchKhoYC.DisplayMember = "DisplayMember"; this.cbxSearchKhoYC.ValueMember = "ValueMember"; }
private void LoadComboBox() { SelectedCbx sel = new SelectedCbx(); this.cbxKhoXuat.DataSource = sel.GetCbxKhoVT(false); this.cbxKhoXuat.DisplayMember = "DisplayMember"; this.cbxKhoXuat.ValueMember = "ValueMember"; this.cbxKhoYC.DataSource = sel.GetCbxKhoVT(false); this.cbxKhoYC.DisplayMember = "DisplayMember"; this.cbxKhoYC.ValueMember = "ValueMember"; this.cbxPhieuYC.DataSource = sel.GetcbxPhieuYeuCau(CommonConstant.STATUS_DADUYET, false); this.cbxPhieuYC.DisplayMember = "DisplayMember"; this.cbxPhieuYC.ValueMember = "ValueMember"; }
private void LoadComboBox() { SelectedCbx sel = new SelectedCbx(); this.cbxMaKho.DataSource = sel.GetCbxKhoVT(false); this.cbxMaKho.DisplayMember = "DisplayMember"; this.cbxMaKho.ValueMember = "ValueMember"; this.cbxMaKho.SelectedIndex = 0; }
private void LoadComboBox() { SelectedCbx sel = new SelectedCbx(); this.cbxKhoVT.DataSource = sel.GetCbxKhoVT(false); this.cbxKhoVT.DisplayMember = "DisplayMember"; this.cbxKhoVT.ValueMember = "ValueMember"; this.cbxNCC.DataSource = sel.GetCbxNCC(); this.cbxNCC.DisplayMember = "DisplayMember"; this.cbxNCC.ValueMember = "ValueMember"; this.cbxPhieuKT.DataSource = sel.GetCbxPhieuKT(CommonConstant.STATUS_DADUYET); this.cbxPhieuKT.DisplayMember = "DisplayMember"; this.cbxPhieuKT.ValueMember = "ValueMember"; }