コード例 #1
0
        public MinesweeperViewModel()
        {
            this.gameTimer = new WinTimer(this.TimerProc, 1000);

            this.MenuViewModel = new MenuViewModel();
            this.DisplayViewModel = new DisplayPanelViewModel();
            this.TileBoardViewModel = new TileBoardViewModel();

            this.Minesweeper = MinesweeperFactory.GetFromSettings();
        }
コード例 #2
0
        public MinesweeperViewModel()
        {
            this.gameTimer = new WinTimer(this.TimerProc, 1000);

            this.MenuViewModel      = new MenuViewModel();
            this.DisplayViewModel   = new DisplayPanelViewModel();
            this.TileBoardViewModel = new TileBoardViewModel();

            this.Minesweeper = MinesweeperFactory.GetFromSettings();
        }