Esempio n. 1
0
        private void 學員管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmPerson frm = FrmPerson.GetSingleton();

            frm.MdiParent = this; //指定打开的子窗体的父容器为当前主窗体
            frm.Show();
        }
Esempio n. 2
0
        /// <summary>
        /// 打开人员管理窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tsmiPersonManager_Click(object sender, EventArgs e)
        {
            FrmPerson frm = FrmPerson.GetSingleton();

            frm.MdiParent = this; //指定打开的子窗体的父容器为当前主窗体
            frm.Show();
        }