private void btnSua_Click(object sender, EventArgs e) { enable(); RoleBUS role = new RoleBUS(); cbbVaiTro.DataSource = role.Getlist(); cbbVaiTro.DisplayMember = "roleName"; }
private void btnThem_Click(object sender, EventArgs e) { enable(); clear(); RoleBUS role = new RoleBUS(); cbbVaiTro.DataSource = role.Getlist(); cbbVaiTro.DisplayMember = "roleName"; check = true; btnLuu.Enabled = true; }