示例#1
0
文件: Form1.cs 项目: Daneruname/LP2
        private void exercício1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmExercicio1 objFrm1 = new frmExercicio1();

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

            objFrm1.Show();
        }
示例#2
0
文件: Form1.cs 项目: 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"];
        }