Beispiel #1
0
        private void taskGrantToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.CheckChildFrmExist("SEC_TASK_GRANT") == true)
            {
                return;
            }
            SEC_TASK_GRANT newFrm = new SEC_TASK_GRANT();

            if (newFrm != null && !ShowMDIChild(newFrm, newFrm))
            {
                newFrm.Dispose();
                newFrm = null;
            }
        }
Beispiel #2
0
        private void SEC_TASK_GRANT_Click(object sender, EventArgs e)
        {
            frmMain frmmain = (frmMain)this.ParentForm;

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

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