示例#1
0
文件: frmUsuarios.cs 项目: intxx0/SGP
        public static frmUsuarios GetChild(mdiPrincipal parent = null)
        {
            if (_childInstance == null)
            {
                _childInstance           = new frmUsuarios();
                _childInstance.MdiParent = parent;
            }

            return(_childInstance);
        }
示例#2
0
        private void btnUsuarios_Click(object sender, EventArgs e)
        {
            frmUsuarios frm = frmUsuarios.GetChild(this);

            frm.Show();
        }