private void BntPhanLop_Click(object sender, RoutedEventArgs e) { if (monHoc != null) { PhanLop pl = new PhanLop(); pl.Owner = this; pl.ShowDialog(); } }
private void BntPhanLop_Click(object sender, RoutedEventArgs e) { if (monHoc != null) { PhanLop pl = new PhanLop(); pl.Owner = this; pl.ShowDialog(); Reload(); dataGridDanhSachMonHoc.SelectedIndex = index; } }