Esempio n. 1
0
        private void btnEnter_Click(object sender, EventArgs e)
        {
            Form form = new frmUserDetails(ParentForm);

            form.Show();
            Hide();
        }
Esempio n. 2
0
        private void btn1_Click(object sender, EventArgs e)
        {
            Hide();

            frmUserDetails copyOfForm2 = new frmUserDetails(this);

            copyOfForm2.Show();
        }
Esempio n. 3
0
        private void btnMainMenu_Click(object sender, EventArgs e)
        {
            frmUserDetails myForm = (frmUserDetails)Application.OpenForms["Form1"];

            myForm.Show();

            this.Close();
        }