Пример #1
0
 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);
 }
Пример #2
0
 public IsSolvedCommand(GameWindowViewModel vm)
 {
     this.vm = vm;
 }