コード例 #1
0
 public void LoadPanelLoaiSach(ref DataGridViewX dgvLoaiSach, ref TextBoxX txtMaLoaiSachQDS, ref TextBoxX txtTenLoaiSachQDS, QDLoaiSachBUS lsBUS)
 {
     LoadDgvLoaiSach(ref dgvLoaiSach, lsBUS);
     if (dgvLoaiSach.RowCount != 0)
     {
         GetDataWhenClickDGVLoaiSach(dgvLoaiSach.Rows[0], ref txtMaLoaiSachQDS, ref txtTenLoaiSachQDS);
     }
     else
     {
         ClearPanelLoaiSach(ref txtMaLoaiSachQDS, ref txtTenLoaiSachQDS);
     }
 }
コード例 #2
0
 public void LoadDgvLoaiSach(ref DataGridViewX dgvLoaiSach, QDLoaiSachBUS lsBUS)
 {
     dgvLoaiSach.DataSource = lsBUS.LoadBangTheLoaiSach();
 }