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);
 }
Exemple #2
0
 public IsSolvedCommand(GameWindowViewModel vm)
 {
     this.vm = vm;
 }