Exemplo n.º 1
0
        private void exercício1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmExercicio1 objFrm1 = new frmExercicio1();

            objFrm1.MdiParent   = this;
            objFrm1.WindowState = FormWindowState.Maximized;

            objFrm1.Show();
        }
Exemplo n.º 2
0
Arquivo: Form1.cs Projeto: MEhele/LP2
        private void exercicio1ToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            frmExercicio1 objFrm1 = new frmExercicio1();

            objFrm1.MdiParent   = this;
            objFrm1.WindowState = FormWindowState.Maximized;
            objFrm1.Show();

            //Form form1 = Application.OpenForms["frmExercicio1"];
        }