private void btnGameBegin_Click(object sender, RoutedEventArgs e)
        {
            gameCount++;
            Window newGame = new MinesweeperWindow(difficulty, MAXMINES, MAXSIDE, gameCount);

            newGame.Show();
            this.Close();
        }
Esempio n. 2
0
        private void btnMinesweeper_Click(object sender, RoutedEventArgs e)
        {
            Window w = new Minesweeper.MinesweeperWindow();

            w.Show();
        }