private void newGame_Click(object sender, EventArgs e) { GameModel game = new GameModel(checkspeed, checklevel); var gameForm = new Arkanoid(game); gameForm.Show(); Hide(); }
private void retry_click(object sender, EventArgs e) { GameModel game = new GameModel(Difficulty, Level); var gameForm = new Arkanoid(game); gameForm.Show(); Close(); }