Esempio n. 1
0
        private void FillDept()
        {
            var textFields = new string[] { "DeptCode", "DeptName" };
            var pattern    = "{0} - {1}";
            var orderBy    = new string[] { "DeptCode" };

            StaffDeptEx.LoadCombo(ref cboDeptCode, textFields, pattern, true, true, "", "", orderBy);
        }
Esempio n. 2
0
 private void FillParentDeptList()
 {
     StaffDeptEx.LoadCombo(ref cboParentDept, "DeptName", true, true, string.Empty, "");
 }