public AppListInfo LinkListToColumn(TableBase.TableEnum listName, DevExpress.XtraBars.BarEditItem col) { AppListInfo l = AppListStore.Find(x => x.AppListName == listName); l.LinkListToColumn(col); return(l); }
public AppListInfo LinkListToColumn(TableBase.TableEnum listName, DevExpress.XtraTreeList.Columns.TreeListColumn col) { AppListInfo l = AppListStore.Find(x => x.AppListName == listName); l.LinkListToColumn(col); return(l); }
public AppListInfo LinkListToColumn(TableBase.TableEnum listName, DevExpress.XtraEditors.SearchLookUpEdit col) { AppListInfo l = AppListStore.Find(x => x.AppListName == listName); l.LinkListToColumn(col); l.AddButtonsToList(col); return(l); }
private static MyEnums.SysSequence GetDimSequence(TableBase.TableEnum _dimTable) { MyEnums.SysSequence sequ = MyEnums.SysSequence.None; switch (_dimTable) { case TableBase.TableEnum.Customer: sequ = MyEnums.SysSequence.CUSTOMER_DIM_SEQU; break; case TableBase.TableEnum.MainAccount: sequ = MyEnums.SysSequence.MAIN_ACCOUNT_DIM_SEQU; break; case TableBase.TableEnum.Vendor: sequ = MyEnums.SysSequence.VENDOR_DIM_SEQU; break; case TableBase.TableEnum.Employee: sequ = MyEnums.SysSequence.EMPLOYEE_DIM_SEQU; break; case TableBase.TableEnum.Department: sequ = MyEnums.SysSequence.DEPARTMENT_DIM_SEQU; break; case TableBase.TableEnum.Location: sequ = MyEnums.SysSequence.LOCATION_DIM_SEQU; break; case TableBase.TableEnum.Project: sequ = MyEnums.SysSequence.PROJECT_DIM_SEQU; break; case TableBase.TableEnum.Purpose: sequ = MyEnums.SysSequence.PURPOSE_DIM_SEQU; break; case TableBase.TableEnum.Equipment: sequ = MyEnums.SysSequence.EQUIPMENT_DIM_SEQU; break; case TableBase.TableEnum.FixedAsset: sequ = MyEnums.SysSequence.FIXED_ASSET_DIM_SEQU; break; case TableBase.TableEnum.Item: sequ = MyEnums.SysSequence.INVENTORY_DIM_SEQU; break; ; } return(sequ); }
public static MyEnums.AccountType TranslateTableEnumToActType(TableBase.TableEnum _table) { MyEnums.AccountType ret = MyEnums.AccountType.MainAccountOnly; switch (_table) { case TableBase.TableEnum.Customer: ret = MyEnums.AccountType.Customer; break; case TableBase.TableEnum.Department: ret = MyEnums.AccountType.Department; break; case TableBase.TableEnum.Employee: ret = MyEnums.AccountType.Employee; break; case TableBase.TableEnum.Equipment: ret = MyEnums.AccountType.Equipment; break; case TableBase.TableEnum.FixedAsset: ret = MyEnums.AccountType.FixedAsset; break; case TableBase.TableEnum.Vendor: ret = MyEnums.AccountType.Vendor; break; case TableBase.TableEnum.Location: ret = MyEnums.AccountType.Location; break; case TableBase.TableEnum.Purpose: ret = MyEnums.AccountType.Purpose; break; } return(ret); }
public AppListInfo GetAppList(TableBase.TableEnum listName) { AppListInfo lst = AppListStore.Find(x => x.AppListName == listName); return(lst); }