Пример #1
0
        private void newGame_Click(object sender, EventArgs e)
        {
            GameModel game     = new GameModel(checkspeed, checklevel);
            var       gameForm = new Arkanoid(game);

            gameForm.Show();
            Hide();
        }
Пример #2
0
        private void retry_click(object sender, EventArgs e)
        {
            GameModel game     = new GameModel(Difficulty, Level);
            var       gameForm = new Arkanoid(game);

            gameForm.Show();
            Close();
        }