Beispiel #1
0
        private void start_Click(object sender, EventArgs e)
        {
            this.Hide();
            game pacman = new game();

            pacman.Show();
        }
Beispiel #2
0
        private void submit_Click(object sender, EventArgs e)
        {
            game  user = new game();
            Form1 main = new Form1();

            name = textBox1.Text;

            if (name == "")
            {
                name = "Player";
            }

            storeScore(score, name);

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