Exemple #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();
 }
Exemple #2
0
        private void cboDept_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (cboDept.SelectedValue == null)
            {
                return;
            }
            if (cboDept.SelectedValue.ToString().CompareTo("New...") != 0)
            {
                return;
            }

            MTN_DEPT_LIST frm = new MTN_DEPT_LIST();

            frm.ShowDialog();
            FillControl.FillAdminDeptList(cboDept, false, true);
        }