private void menuStudentAddToClass_Click(object sender, RoutedEventArgs e) { // Open the add student to class window AddStudentToClassWindow addToClass = new AddStudentToClassWindow(); addToClass.ShowDialog(); }
private void btnClassAdd_Click(object sender, RoutedEventArgs e) { // Open the add student to class window AddStudentToClassWindow astcw = new AddStudentToClassWindow(selectedStudent_); astcw.ShowDialog(); // Fix class list populateClassesList(); }
private void btnAddStudent_Click(object sender, RoutedEventArgs e) { // Open the add student to class window AddStudentToClassWindow adtcw = new AddStudentToClassWindow(); adtcw.ShowDialog(); // Update the student list updateStudentsList(); }