private void btnStart_Click(object sender, EventArgs e) { Game game; switch (difficulty) { case 0: game = new Game(this.pnlMines, 9, 9, 10); game.DrawGrid(); break; case 1: game = new Game(this.pnlMines, 16, 16, 40); game.DrawGrid(); break; case 2: game = new Game(this.pnlMines, 16, 16, 40); game.DrawGrid(); break; } }