예제 #1
0
파일: vmYahtzee.cs 프로젝트: ptpnl/Yathzee
 private void AddScore(object obj)
 {
     AddScore(obj as Label);
     canAddScore = false;
     AddScoreCommand.CanExecute(new Object());
     canNextTurn = true;
     NextTurnCommand.CanExecute(new Object());
 }
예제 #2
0
파일: vmYahtzee.cs 프로젝트: ptpnl/Yathzee
 private void NextTurn(object obj)
 {
     canRollDice = NextTurn();
     canAddScore = false;
     AddScoreCommand.CanExecute(new Object());
     ResetDiceRectangle();
     canNextTurn = false;
     NextTurnCommand.CanExecute(new Object());
 }