public MainWindowViewModel() { Game = new GameWindowViewModel(this); SelectedPuzzle = new SelectPuzzleViewModel(this); this.OpenRules = new OpenRulesCommand(); this.OpenPuzzleSelect = new OpenPuzzleSelectCommand(SelectedPuzzle); this.OpenStartGame = new OpenStartGameCommand(this); Exit = new ExitCommand(this); Closing = new ClosingCommand(this); }
public IsSolvedCommand(GameWindowViewModel vm) { this.vm = vm; }