Esempio n. 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;
        }
Esempio n. 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;
        }