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