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

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

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

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