示例#1
0
        private void QRY_TASK_GRANT_Click(object sender, EventArgs e)
        {
            if (this.CheckChildFrmExist("QRY_TASK_GRANT") == true)
            {
                return;
            }
            QRY_TASK_GRANT newFrm = new QRY_TASK_GRANT();

            if (newFrm != null && !ShowMDIChild(newFrm, newFrm))
            {
                newFrm.Dispose();
                newFrm = null;
            }
        }
示例#2
0
        private void QRY_TASK_GRANT_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmMain frmmain = (frmMain)this.ParentForm;

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

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