private void ByMoodleSequence_Click(object sender, RoutedEventArgs e) { if (Sort_Ascending.IsChecked == true) { Analyse.sortModulesByMoodleSequence(); } else { Analyse.sortModulesByMoodleSequence("descending"); } drawBarChart(); }
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(); } }