Exemplo n.º 1
0
        private void conectToolStripMenuItem_Click(object sender, EventArgs e)
        {
            mdiForm2 newMDIChild = new mdiForm2();

            newMDIChild.MdiParent = this;
            newMDIChild.Show();
        }
Exemplo n.º 2
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            mdiForm2 mainWindow = new mdiForm2();

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