예제 #1
0
파일: Form1.cs 프로젝트: vamsilva/LP2
        private void btnExercicio7_Click(object sender, EventArgs e)
        {
            Form fc = Application.OpenForms["frm2"];

            if (fc != null)
            {
                fc.Close();
            }

            frmExercicio7 FrmExercicio7 = new frmExercicio7();

            FrmExercicio7.Show();
        }
예제 #2
0
        private void btnExercicio7_Click(object sender, EventArgs e)
        {
            frmExercicio7 frm = new frmExercicio7();

            frm.Show();
        }