private void Home_Click(object sender, EventArgs e)
        {
            this.Hide();
            GameHomepage gh = new GameHomepage();

            gh.ShowDialog();
            this.Close();
        }
Ejemplo n.º 2
0
        private void home_Click(object sender, EventArgs e)
        {
            timer2.Stop();
            minutes = 0;
            seconds = 0;
            this.Hide();
            GameHomepage hm = new GameHomepage();

            hm.ShowDialog();
            this.Close();
        }
        private void home_Click(object sender, EventArgs e)
        {
            if (simpleSound != null)
            {
                simpleSound.Stop();
            }

            this.Hide();
            GameHomepage hm = new GameHomepage();

            hm.ShowDialog();
            this.Close();
        }