Esempio n. 1
0
 private void exercicio1ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmExercicio1 objFrm1 = new frmExercicio1();
     objFrm1.MdiParent = this;
     objFrm1.WindowState = FormWindowState.Maximized;
     objFrm1.Show();
 }
Esempio n. 2
0
        private void form1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form fc = Application.OpenForms[""];

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

            frmExercicio1.MdiParent   = this;
            frmExercicio1.WindowState = FormWindowState.Maximized;
            frmExercicio1.Show();
        }