Beispiel #1
0
        private void nieuwProjectToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DisposeAllChilds();
            ADM_NieuwProject newFrm = new ADM_NieuwProject();

            newFrm.MdiParent   = this;
            newFrm.WindowState = FormWindowState.Maximized;
            newFrm.Show();
        }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (ActiveMdiChild != null)
            {
                ActiveMdiChild.Close();
            }
            ADM_NieuwProject newFrm = new ADM_NieuwProject();

            newFrm.MdiParent   = Form2.ActiveForm;
            newFrm.WindowState = FormWindowState.Maximized;
            newFrm.Show();
        }