Пример #1
0
        private void conectToolStripMenuItem_Click(object sender, EventArgs e)
        {
            mdiForm2 newMDIChild = new mdiForm2();

            newMDIChild.MdiParent = this;
            newMDIChild.Show();
        }
Пример #2
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            mdiForm2 mainWindow = new mdiForm2();

            this.Hide();
            mainWindow.Show();
        }