/// <summary> /// Open the windows to manage existing ScheduleSlot /// </summary> private void mnScheduleSlotsInScheduler(object sender, RoutedEventArgs e) { SlotGenerationWindow slotsGenerate = new SlotGenerationWindow(bdModel); slotsGenerate.LoadScheduleSlotFromDatabase(); slotsGenerate.NextPrevButtonVisibity = true; slotsGenerate.ShowDialog(); }
/// <summary> /// Open the window to genrerate workingShifts. /// </summary> private void mnScheduleSlotsGeneration(object sender, RoutedEventArgs e) { SlotGenerationWindow slotsGenerate = new SlotGenerationWindow(bdModel); slotsGenerate.ShowDialog(); }