示例#1
0
        private void btnAddPerformer_Click(object sender, EventArgs e)
        {
            this.Close();
            frmAddPerformer frm = new frmAddPerformer();

            frm.MdiParent = Application.OpenForms["frmIndex"];
            frm.Show();
        }
示例#2
0
        private void addPerformerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HelperMethods.CloseAllForms();
            frmAddPerformer frm = new frmAddPerformer();

            frm.MdiParent   = Application.OpenForms["frmIndex"];
            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }