private void frmMain_Load(object sender, EventArgs e) { frmMeasurement newMDIChild = new frmMeasurement(visitID); scanMeasurementToolStripMenuItem.Enabled = true; newMDIChild.MdiParent = this; newMDIChild.WindowState = FormWindowState.Maximized; newMDIChild.Show(); }
private void scanMeasurementToolStripMenuItem_Click(object sender, EventArgs e) { frmMeasurement newMDIChild = new frmMeasurement(); newMDIChild.MdiParent = this; newMDIChild.WindowState = FormWindowState.Maximized; newMDIChild.Show(); }