Example #1
0
        private void OnEnquiryPropertyChanged(object sender, PropertyChangedEventArgs args)
        {
            ShowResourcesCommand.RaiseCanExecuteChanged();
            SubmitEventCommand.RaiseCanExecuteChanged();
            EditPrimaryContactCommand.RaiseCanExecuteChanged();

            RaisePropertyChanged(() => AllowBooking);
            RaisePropertyChanged(() => IsEnquiryAndDetailFilled);
        }
Example #2
0
 private void OnEventPropertyChanged(object sender, PropertyChangedEventArgs args)
 {
     SubmitEventCommand.RaiseCanExecuteChanged();
     EditPrimaryContactCommand.RaiseCanExecuteChanged();
     if (args.PropertyName == "IsEventTypeChanged")
     {
         if (Event.IsEventTypeChanged)
         {
             RemoveDefaultRemindersOnTypeChange();
             Event.IsEventTypeChanged = false;
         }
     }
     if (args.PropertyName == "Date")
     {
         if (Event.IsEventDateChanged)
         {
             RefreshRemindersDueDates();
             Event.IsEventDateChanged = false;
         }
     }
 }