예제 #1
0
        private void NewGame()
        {
            if (_mousePuzzleGrid != null)
                PuzzleHostingPanel.Children.Remove(_mousePuzzleGrid);

            _mousePuzzleGrid = new PuzzleGrid(_puzzleNumber, InteractionMode.PureMouse);
            PuzzleHostingPanel.Children.Add(_mousePuzzleGrid);
            PuzzleHostingPanel.IsEnabled = true;
        }
예제 #2
0
        private void NewGame()
        {
            if (_mousePuzzleGrid != null)
            {
                PuzzleHostingPanel.Children.Remove(_mousePuzzleGrid);
            }

            _mousePuzzleGrid = new PuzzleGrid(_puzzleNumber, InteractionMode.PureMouse);
            PuzzleHostingPanel.Children.Add(_mousePuzzleGrid);
            PuzzleHostingPanel.IsEnabled = true;
        }