private void exercicio2ToolStripMenuItem_Click(object sender, EventArgs e) { frmExercicio2 frm = new frmExercicio2(); frm.MdiParent = this; frm.WindowState = FormWindowState.Maximized; frm.Show(); }
private void frmExercicio2_Load(object sender, EventArgs e) { frmExercicio2 frm = new frmExercicio2(); frm.MdiParent = this; frm.WindowState = FormWindowState.Maximized; frm.Show(); }