Exemple #1
0
 private void F2_UpdateEventHandler1(object sender, FormThem.UpdateEventArgs args)
 {
     if (_chucNang == 1)
     {
         uC_Show1.DgvShow.DataSource = _context.DanhSachNV();
     }
     else if (_chucNang == 3)
     {
         uC_Show1.DgvShow.DataSource = _context.DanhSachDV();
     }
     else if (_chucNang == 4)
     {
         uC_Show1.DgvShow.DataSource = _context.DanhSachThuoc();
     }
 }
Exemple #2
0
 private void F2_UpdateEventHandler1(object sender, FormThem.UpdateEventArgs args)
 {
     uC_Show1.DgvShow.DataSource = _context.DanhSachBN();
 }