private void btnViewTestAnalysis_Click(object sender, RoutedEventArgs e) { // Get a test from the list Test selectedTest = (Test)lstTestData.SelectedItem; // Open the test analysis window for this class ViewClassTestAnalysisWindow vctaw = new ViewClassTestAnalysisWindow(selectedTest, class_); vctaw.Show(); }
private void btnViewAnalysis_Click(object sender, RoutedEventArgs e) { ViewClassTestAnalysisWindow vctaw = new ViewClassTestAnalysisWindow(test_, (Class)lstClasses.SelectedItem); vctaw.Show(); }