Ejemplo n.º 1
0
        private void btnOtherForm_Click(object sender, EventArgs e)
        {
            //Hide the current form
            this.Hide();
            //Create the object for the new form
            Polymorphism polymorphism = new Polymorphism();

            //Display the new form for the user
            polymorphism.ShowDialog();
            //Close this current form
            this.Close();
        }