Esempio n. 1
0
 private void RaiseCommandsChanged()
 {
     GetHintCommand.RaiseCanExecuteChanged();
     PassCommand.RaiseCanExecuteChanged();
     PressedCommand.RaiseCanExecuteChanged();
     ResignCommand.RaiseCanExecuteChanged();
     UndoCommand.RaiseCanExecuteChanged();
 }
Esempio n. 2
0
        protected void RefreshCommands()
        {
            RaisePropertyChanged(nameof(ResumingGameIsPossible));
            ResignCommand.RaiseCanExecuteChanged();
            LifeAndDeathDoneCommand.RaiseCanExecuteChanged();
            ResumeGameCommand.RaiseCanExecuteChanged();
            RequestUndoDeathMarksCommand.RaiseCanExecuteChanged();

            UpdateCanPassAndUndo();
        }