private void testList_SelectionChanged(object sender, MouseButtonEventArgs e) { TestTemplate test = (TestTemplate)testList.SelectedItem; if (test == null) { return; } DetailsWindow win = new DetailsWindow(test); win.ShowDialog(); UpdateTestData(); }
private void DetailsTestAction(object sender, RoutedEventArgs e) { TestTemplate test = (TestTemplate)testList.SelectedItem; if (test == null) { return; } DetailsWindow win = new DetailsWindow(test); win.ShowDialog(); UpdateTestData(); }