Beispiel #1
0
 private void MTN_EMPLOYEE_LIST_Load(object sender, EventArgs e)
 {
     clsTranslate.InitLanguage(this);
     Util.ChangeStatus(this, true);
     FillControl.FillStatus(cboStatus, false);
     FillControl.FillAdminDutyList(cboDuty, false, true);
     FillControl.FillAdminDegreeList(cboDegree, false, true);
     FillControl.FillAdminDeptList(cboDept, false, true);
     DBGrid.Tag = this.Text;
     LoadData();
 }
Beispiel #2
0
        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);
        }