Exemple #1
0
 public void loaddata()
 {
     qltk.LayThongTin(dataGridViewTaiKhoan);
     btn_Luu.Enabled            = false;
     btn_Huy.Enabled            = false;
     btn_Them.Enabled           = true;
     btn_Xoa.Enabled            = true;
     btn_Sua.Enabled            = true;
     this.txtMaNhanVien.Enabled = false;
     this.txtMK.Enabled         = false;
     this.txtTenDN.Enabled      = false;
     this.txtTenDN.Enabled      = true;
     this.txtTenNV.Enabled      = false;
     this.cbbTrangThai.Enabled  = false;
     this.txtMK.ResetText();
     this.txtMaNhanVien.ResetText();
     this.cbbTrangThai.ResetText();
     this.txtTenDN.ResetText();
     this.txtTenNV.ResetText();
     this.radioButtonNhanVien.Checked = false;
     this.radioButtonQuanLi.Checked   = false;
     this.txtMaNhanVien.Enabled       = false;
     this.txtTenNV.Enabled            = false;
 }