private void btnSelectGroups_Click(object sender, RoutedEventArgs e)
 {
     ScheduleSubGroupsExcelForm form = new ScheduleSubGroupsExcelForm(schedule);
     //form.Owner = this;
     form.ShowDialog();
     if (form.DialogResult == true)
     {
         schedule.CreatScheduleForGroups(form.groups);
         infoClassTextbox.Text = "";
         InfoTeachersListbox.Items.Clear();
         InfoGrouplistView.Items.Clear();
         ClassRoomlistView.Items.Clear();
         TimeTextBox.Text = "";
         CreateTimeTable();
         btnRemove.IsEnabled = false;
         coursComboBox.SelectedIndex = -1;
         facultComboBox.SelectedIndex = -1;
     }
 }
Example #2
0
 private void misheduleExportGroups_Click(object sender, RoutedEventArgs e)
 {
     ScheduleSubGroupsExcelForm scheduleFacultyGroups = new ScheduleSubGroupsExcelForm();
     scheduleFacultyGroups.ShowDialog();
 }