예제 #1
0
 private void ByMoodleSequence_Click(object sender, RoutedEventArgs e)
 {
     if (Sort_Ascending.IsChecked == true)
     {
         Analyse.sortModulesByMoodleSequence();
     }
     else
     {
         Analyse.sortModulesByMoodleSequence("descending");
     }
     drawBarChart();
 }
예제 #2
0
        private void ChartCommand_Executed(object sender, RoutedEventArgs e)
        {
            commitEdits();

            if (Analyse.selectedStudentCount > 0)
            {
                Analyse.findExcludedStudents();
                Analyse.findModules();
                Analyse.findSections();
                Analyse.sortModulesByMoodleSequence();
                ChartWindow c = new ChartWindow();
                c.ShowDialog();
            }
        }