Exemple #1
0
        private void buttonStart_Click(object sender, EventArgs e)
        {
            GameplayForm gameplayForm = new GameplayForm();

            gameplayForm.Show();
            this.Hide();
        }
Exemple #2
0
        private void buttonRestart_Click(object sender, EventArgs e)
        {
            this.Hide();
            GameplayForm startGameForm = new GameplayForm();

            startGameForm.Show();
            this.Dispose();
        }