コード例 #1
0
        private void Init()
        {
            BindData();

            TblBranch branch      = new TblBranch();
            DataTable branchTable = branch.SelectAll();

            new XtraUtils.LookupEditBuilder.BranchCodeLookupEditBuilder(branchTable, lkpEdtBranchCode.Properties);

            TblCaseType casetype      = new TblCaseType();
            DataTable   caseTypeTable = casetype.SelectAll();

            new XtraUtils.LookupEditBuilder.CaseTypeLookupEditBuilder(caseTypeTable, lkpEdtCaseType.Properties);

            TblCaseCategory category      = new TblCaseCategory();
            DataTable       categoryTable = category.SelectAll();

            new XtraUtils.LookupEditBuilder.CaseCategoryLookupEditBuilder(categoryTable, lkpEdtCategory.Properties);

            TblDepartment department = new TblDepartment();
            DataTable     deptTable  = department.SelectAll();

            new XtraUtils.LookupEditBuilder.DepartmentLookupEditBuilder(deptTable, lkpEdtDeptID.Properties);

            new XtraUtils.LookupEditBuilder.EmployeeIDLookupEditBuilder(lkpEdtStaff.Properties, false);

            new XtraUtils.LookupEditBuilder.DepartmentLookupEditBuilder(deptTable, lkpEdtDeptAssignedID.Properties);
        }
コード例 #2
0
        private void Init()
        {
            BindData();

            TblBranch branch      = new TblBranch();
            DataTable branchTable = branch.SelectAll();

            new XtraUtils.LookupEditBuilder.BranchCodeLookupEditBuilder(branchTable, lkpEdtBranchCode.Properties);

            TblCaseType casetype      = new TblCaseType();
            DataTable   caseTypeTable = casetype.SelectAll();

            new XtraUtils.LookupEditBuilder.CaseTypeLookupEditBuilder(caseTypeTable, lkpEdtCaseType.Properties);

//			TblMember member = new TblMember();
//			DataTable memberTable = member.SelectAll();
//			new XtraUtils.LookupEditBuilder.MemberIDLookupEditBuilder(memberTable, lkpEdtMemberID.Properties);

            TblCaseCategory category      = new TblCaseCategory();
            DataTable       categoryTable = category.SelectAll();

            new XtraUtils.LookupEditBuilder.CaseCategoryLookupEditBuilder(categoryTable, lkpEdtCategory.Properties);

            TblDepartment department = new TblDepartment();
            DataTable     deptTable  = department.SelectAll();

            new XtraUtils.LookupEditBuilder.DepartmentLookupEditBuilder(deptTable, lkpEdtDeptID.Properties);
        }