private void nowaGraToolStripMenuItem_Click(object sender, EventArgs e) { this.Visible = false; Wyczysc(); game.Board.CleanBoard(); SettingsBoard newGame = new SettingsBoard(this, game.Board); newGame.Show(); }
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(); }