private void cboDegree_SelectedIndexChanged(object sender, EventArgs e) { if (cboDegree.SelectedValue == null) { return; } if (cboDegree.SelectedValue.ToString().CompareTo("New...") != 0) { return; } MTN_DEGREE_LIST frm = new MTN_DEGREE_LIST(); frm.ShowDialog(); FillControl.FillAdminDegreeList(cboDegree, false, true); }
private void MTN_DEGREE_LIST_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { frmMain frmmain = (frmMain)this.ParentForm; if (frmmain.CheckChildFrmExist("MTN_DEGREE_LIST") == true) { return; } MTN_DEGREE_LIST newFrm = new MTN_DEGREE_LIST(); if (newFrm != null && !frmmain.ShowMDIChild(newFrm, newFrm)) { newFrm.Dispose(); newFrm = null; } }
private void btnDegreeList_Click(object sender, EventArgs e) { MTN_DEGREE_LIST frm = new MTN_DEGREE_LIST(); frm.ShowDialog(); }