示例#1
0
 public void laydulieulencomboboxMaphieu(ComboBox cb)
 {
     bllpqlk = new PhieuQLKho_BLL();
     this.cbbMaPhieuQL.DataSource    = bllpqlk.getAllPQLKho();
     this.cbbMaPhieuQL.DisplayMember = "_maPhieuQli";
     this.cbbMaPhieuQL.ValueMember   = "_maPhieuQli";
 }
示例#2
0
 public PQLKho()
 {
     InitializeComponent();
     bllpqlk  = new PhieuQLKho_BLL();
     listpqlk = new List <ePhieuQLiKho>();
     listpqlk = bllpqlk.getAllPQLKho();
     bllKho   = new Kho_BLL();
     duadulieulendgvCTPQL(dgvPQLK, listpqlk);
     DuadulieulencomboboxMaKho(comboBoxMaKho);
     loaddulieulencomboboxTinhTrang(comboTinhTrang);
     chedotextbox(false);
     chedobutton(true);
 }