Esempio n. 1
0
        private void nowaGraToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Wyczysc();
            game.Board.CleanBoard();
            SettingsBoard newGame = new SettingsBoard(this, game.Board);

            newGame.Show();
        }
Esempio n. 2
0
        public Saper(Player player)
        {
            InitializeComponent();
            Board board = new Board(startX, startY);

            this.Visible = false;
            game         = new Game(player, board);
            SettingsBoard newGame = new SettingsBoard(this, board);

            newGame.Show();
        }