private void conectToolStripMenuItem_Click(object sender, EventArgs e) { mdiForm2 newMDIChild = new mdiForm2(); newMDIChild.MdiParent = this; newMDIChild.Show(); }
private void pictureBox4_Click(object sender, EventArgs e) { mdiForm2 mainWindow = new mdiForm2(); this.Hide(); mainWindow.Show(); }