private void newAnalogTeensy_Click(object sender, EventArgs e) { // Create a new instance of the child form. AnalogVizTeensy childForm; childForm = new AnalogVizTeensy(); childForm.MdiParent = this; if (childForm.Init() == false) { return; } childForm.Show(); childForm.WindowState = FormWindowState.Maximized; }