예제 #1
0
 private void btnShowNCC_Click(object sender, EventArgs e)
 {
     try
     {
         info.dataGridView.ClearSelection();
         info.dataGridView.DataSource = _pnService.DanhSachNhaCungCap();
         info.setMaXacDinh("NHACUNGCAP");
         info.ShowDialog();
     }
     catch
     {
     }
 }
예제 #2
0
 private void btnShowKH_Click(object sender, EventArgs e)
 {
     try
     {
         info.dataGridView.ClearSelection();
         info.dataGridView.DataSource = _hdService.DanhSachKhachHang();
         info.setMaXacDinh("KHACHHANG");
         info.ShowDialog();
     }
     catch
     {
     }
 }