private void comboBoxTaiKhoan_SelectedIndexChanged(object sender, EventArgs e) { QLPhanQuyen a = new QLPhanQuyen(); DataTable dt = a.TenTaiKhoan(); comboBoxTaiKhoan.DataSource = dt; comboBoxTaiKhoan.DisplayMember = "TenTaiKhoan"; comboBoxTaiKhoan.ValueMember = "TenTaiKhoan"; }
private void mnuPQ_Click(object sender, RoutedEventArgs e) { QLPhanQuyen f = new QLPhanQuyen(); f.ShowDialog(); }