Ejemplo n.º 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     KhoaDieuKien();
     HienThi("");
     cbMaDV.DataSource    = bus.LayThongTinDV("");
     cbMaDV.DisplayMember = "MaDV";
     cbMaDV.ValueMember   = "TenDV";
     if (_Phanquyen.Phanquyen == 0)
     {
         btnLuu.Enabled  = false;
         btnSua.Enabled  = false;
         btnThem.Enabled = false;
         btnXoa.Enabled  = false;
         //MessageBox.Show("nhanvien");
     }
 }