Esempio n. 1
0
 private void UpdateButtonState()
 {
     NewCollection.RaiseCanExecuteChanged();
     OpenCollection.RaiseCanExecuteChanged();
     SaveCollection.RaiseCanExecuteChanged();
     EditCollection.RaiseCanExecuteChanged();
     DeleteCollection.RaiseCanExecuteChanged();
     CommitCollection.RaiseCanExecuteChanged();
     ReviewCollection.RaiseCanExecuteChanged();
 }
Esempio n. 2
0
        private void UpdateButtonState()
        {
            NewCollection.RaiseCanExecuteChanged();
            OpenCollection.RaiseCanExecuteChanged();
            SaveCollection.RaiseCanExecuteChanged();
            EditCollection.RaiseCanExecuteChanged();
            DeleteCollection.RaiseCanExecuteChanged();
            CommitCollection.RaiseCanExecuteChanged();
            ReviewCollection.RaiseCanExecuteChanged();
            ViewRecordCommand.RaiseCanExecuteChanged();

            //IsSaveVisible = FormArgs == null ? false : FormArgs.HasNoRecords == false && FormArgs.ViewMode != FormMode.DELETEMODE;
            OnPropertyChanged("IsCommitVisible");
        }