示例#1
0
 private void SetTimeConstraintButton_OnClick(object sender, RoutedEventArgs e)
 {
     if (_windowStateSummary == null)
     {
         _windowStateSummary = new Window_StateSummary(_subjectModels.GetSelectedSlots(), _newListOfTimetables);
     }
     _windowStateSummary.ShowDialog();
     if (_windowStateSummary.UserClickedDone)
     {
         UpdateGUI(_windowStateSummary.RemainingTimetables);
     }
 }
示例#2
0
 private void SetTimeConstraintButton_OnClick(object sender, RoutedEventArgs e)
 {
     if (_windowStateSummary == null)
     {
         _windowStateSummary = new Window_StateSummary(_inputSlots.GetSlotsOf(SelectSubjectPanel.UIDofSelectedSlots).ToList(), _raw);
     }
     _windowStateSummary.ShowDialog();
     if (_windowStateSummary.UserClickedDone)
     {
         _predicates = _windowStateSummary.Predicates;
         UpdateGUI(RunPermutation(_inputSlots.GetSlotsOf(SelectSubjectPanel.UIDofSelectedSlots)));
     }
 }