void OnOKButtonClick(object sender, RoutedEventArgs e)
        {
            if (!controller.IsConflictResolved())
            {
                DXMessageBox.Show(SchedulerLocalizer.GetString(SchedulerStringId.Msg_Conflict), "DXScheduler Demo", System.Windows.MessageBoxButton.OK, MessageBoxImage.Exclamation);
                return;
            }

            if (ShouldShowRecurrence)
            {
                RecurrenceVisualController.ApplyRecurrence();
            }

            Controller.ApplyChanges();

            SchedulerFormBehavior.Close(this, true);
        }
예제 #2
0
 private void OK_Click(object sender, RoutedEventArgs e)
 {
     RecurrenceVisualController.ApplyRecurrence();
     CloseForm(true);
 }