예제 #1
0
        private void deTakenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DisposeAllChilds();
            ADM_NieuweTaken newFrm = new ADM_NieuweTaken();

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

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