private void btnViewTestAnalysis_Click(object sender, RoutedEventArgs e)
        {
            // Open a view test analysis window for the selected test (we cast to a test to do so)
            ViewStudentTestAnalysisWindow vtaw = new ViewStudentTestAnalysisWindow((TestResult)lstTestData.SelectedItem);

            vtaw.Show();
        }
Beispiel #2
0
        private void btnViewAnalysis_Click(object sender, RoutedEventArgs e)
        {
            TestResult result = (TestResult)lstStudentData.SelectedItem;

            // Bit of a mouthfull of a class name.
            ViewStudentTestAnalysisWindow vstaw = new ViewStudentTestAnalysisWindow(result);

            vstaw.Show();
            // As for TeacherRoot -> This Form we show it non-modally so that they can analyse multiple results next to eachother.
        }