private void btnImport_Click(object sender, RoutedEventArgs e) { ImportAthlete window = new ImportAthlete(); window.TestItem = testManager.SelectedItem; window.Owner = this; if (window.ShowDialog() == true) { RefrenshAthleteList(); } }
//批量导入人员信息 private void btnImport_Click(object sender, RoutedEventArgs e) { ImportAthlete window = new ImportAthlete(); window.TestItem = testManager.SelectedItem; window.Owner = Application.Current.MainWindow; if (window.ShowDialog() == true) { testManager.RefrenshList(); //RefrenshAthleteList(); } }