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); }
private void OK_Click(object sender, RoutedEventArgs e) { RecurrenceVisualController.ApplyRecurrence(); CloseForm(true); }