예제 #1
0
        private void pictureBox7_Click(object sender, EventArgs e)
        {
            this.Hide(); //the form disappears
            home form = new home();

            form.ShowDialog(); //this shows the form as a modal dialog box.
            this.Close();      //this closes the form to complete the form change
        }
예제 #2
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            this.Hide();          //the form disappears
            home l1 = new home(); //creates a new level form and opens it

            l1.ShowDialog();      //this shows the form as a modal dialog box.
            this.Close();         //this closes the form to complete the form change
        }
예제 #3
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            this.Hide();
            //character.characterImage = Image.FromFile("object.png");
            home home = new home();

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