Esempio n. 1
0
        private void InitialComboBox()
        {
            LookupDataBIZ bizLookup = new LookupDataBIZ();


            //LookupData lookupOPERATION_TYPE = bizLookup.LoadLookupClassType(new NZString(null, DataDefine.OPERATION_TYPE));

            //ReadOnlyPairCellType OPERATION_TYPE = new ReadOnlyPairCellType(lookupOPERATION_TYPE, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.OPERATION_TYPE].CellType = OPERATION_TYPE;

            //LookupData lookupTRANS_CLS = bizLookup.LoadLookupClassType(new NZString(null, DataDefine.TRANS_TYPE));

            //ReadOnlyPairCellType TRANS_CLS = new ReadOnlyPairCellType(lookupTRANS_CLS, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.TRANS_CLS].CellType = TRANS_CLS;

            //LookupData lookupIN_OUT_CLS = bizLookup.LoadLookupClassType(new NZString(null, DataDefine.IN_OUT_CLASS));

            //ReadOnlyPairCellType IN_OUT_CLS = new ReadOnlyPairCellType(lookupIN_OUT_CLS, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.IN_OUT_CLS].CellType = IN_OUT_CLS;

            //// Lookup StoreLoc
            //LookupData lookupStoreLoc = bizLookup.LoadLookupLocation();
            //ReadOnlyPairCellType StoreLoc = new ReadOnlyPairCellType(lookupStoreLoc, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.LOC_CD].CellType = StoreLoc;

            //// Lookup CustomerLoc
            //LookupData lookupCustomerLoc = bizLookup.LoadLookupLocation();
            //ReadOnlyPairCellType CustomerLoc = new ReadOnlyPairCellType(lookupCustomerLoc, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.FOR_CUSTOMER].CellType = CustomerLoc;

            //// Lookup SubType
            //LookupData lookupSubType = bizLookup.LoadLookupClassType(DataDefine.ISSUE_SUBTYPE.ToNZString());
            //ReadOnlyPairCellType SubType = new ReadOnlyPairCellType(lookupSubType, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.TRAN_SUB_CLS].CellType = SubType;

            //LookupData lookupSHIFT_CLS = bizLookup.LoadLookupClassType(DataDefine.SHIFT_CLS.ToNZString());
            //ReadOnlyPairCellType SHIFT_CLS = new ReadOnlyPairCellType(lookupSHIFT_CLS, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.SHIFT_CLS].CellType = SHIFT_CLS;

            //LookupData lookupSCREEN_TYPE = bizLookup.LoadLookupClassType(DataDefine.SCREEN_TYPE.ToNZString());
            //ReadOnlyPairCellType SCREEN_TYPE = new ReadOnlyPairCellType(lookupSCREEN_TYPE, Common.COMBOBOX_SEPERATOR_SYMBOL);
            //shtView.Columns[(int)eColView.SCREEN_TYPE].CellType = SCREEN_TYPE;

            LookupData lookupLogTable = bizLookup.LoadLookupLogTable();

            cboDataType.LoadLookupData(lookupLogTable);
        }