Пример #1
0
        private void SEC_SYSTEM_PARAMETERS_Click(object sender, EventArgs e)
        {
            if (this.CheckChildFrmExist("SEC_SYSTEM_PARAMETERS") == true)
            {
                return;
            }
            SEC_SYSTEM_PARAMETERS newFrm = new SEC_SYSTEM_PARAMETERS();

            if (newFrm != null && !ShowMDIChild(newFrm, newFrm))
            {
                newFrm.Dispose();
                newFrm = null;
            }
        }
Пример #2
0
        private void SEC_SYSTEM_PARAMETERS_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmMain frmmain = (frmMain)this.ParentForm;

            if (frmmain.CheckChildFrmExist("SEC_SYSTEM_PARAMETERS") == true)
            {
                return;
            }
            SEC_SYSTEM_PARAMETERS newFrm = new SEC_SYSTEM_PARAMETERS();

            if (newFrm != null && !frmmain.ShowMDIChild(newFrm, newFrm))
            {
                newFrm.Dispose();
                newFrm = null;
            }
        }