├── EclipsePOS.WPF.SystemManager.Data ├── ClassDiagram1.cd ├── dialogDataSet.xsc ├── dialogDataSet.xss ├── menuRootDataSet.xsc ├── menuRootDataSet.xss ├── posKeyDataSet.xsc ├── posKeyDataSet.xss ├── possiteDataSet.xsc ├── possiteDataSet.xss ├── usersDataSet.xss ├── CardMediaDataSet.xsc ├── CardMediaDataSet.xss ├── OrganiztionDataSet.xsc ├── OrganiztionDataSet.xss ├── StoreGroupDataSet.xsc ├── StoreGroupDataSet.xss ├── menuConfigDataSet.xsc ├── menuConfigDataSet.xss ├── menuPanelsDataSet.xsc ├── menuPanelsDataSet.xss ├── shipmentsDataSet.xss ├── stockBalanceDataSet.xsc ├── stockBalanceDataSet.xss ├── eclipseposdataDataSet.xsc ├── eclipseposdataDataSet.xss ├── helpTextPosParamDataSet.xss ├── menuRootLookupDataSet.xss ├── posConfigLookupDataSet.xsc ├── posConfigLookupDataSet.xss ├── shipmentDetailsDataSet.xsc ├── shipmentDetailsDataSet.xss ├── updateStockBalanceDataSet.xsc ├── updateStockBalanceDataSet.xss ├── loadRetailStoreCustomerDataSet.xsc ├── loadRetailStoreCustomerDataSet.xss ├── loadTransByUploadSessionNoDataSet.xsc ├── loadTransByUploadSessionNoDataSet.xss ├── CardMediaDataSet.cs ├── organizationLookupDataSet.cs ├── posParamDataSet.cs ├── ItemsDataSet.xsc ├── storeDataSet.xsc ├── taxDataSet.xsc ├── transDataSet.xsc ├── usersDataSet.xsc ├── DepartmentDataSet.xsc ├── ItemGroupDataSet.xsc ├── TaxGroupDataSet.xsc ├── currencyDataSet.xsc ├── customerDataSet.xsc ├── employeeDataSet.xsc ├── posConfigDataSet.xsc ├── posParamDataSet.xsc ├── promotionDataSet.xsc ├── shipmentsDataSet.xsc ├── stationDataSet.xsc ├── surchargeDataSet.xsc ├── tableGroupDataSet.xsc ├── transStockDataSet.xsc ├── currencyCodeDataSet.xsc ├── employeeRolesDataSet.xsc ├── helpTextPosParamDataSet.xsc ├── menuPanelsLookupDataSet.xsc ├── menuRootLookupDataSet.xsc ├── organizationDataSet.xsc ├── posParamDefaultDataSet.xsc ├── posTransUploadDataSet.xsc ├── promotionMapDataSet.xsc ├── tableDetailsDataSet.xsc ├── employeeRoleEventDataSet.xsc ├── employeeRolesLookupDataSet.xsc ├── loadTransTaxByTransNoDataSet.xsc ├── organizationLookupDataSet.xsc ├── loadTransForAccpacImportDataSet.xsc ├── posTransUploadDataSet.xss ├── taxDataSet.xss ├── ItemsDataSet.xss ├── stationDataSet.xss ├── transDataSet.xss ├── ItemGroupDataSet.xss ├── customerDataSet.xss ├── employeeDataSet.xss ├── posConfigDataSet.xss ├── posParamDataSet.xss ├── storeDataSet.xss ├── surchargeDataSet.xss ├── DepartmentDataSet.xss ├── TaxGroupDataSet.xss ├── currencyDataSet.xss ├── promotionDataSet.xss ├── tableGroupDataSet.xss ├── transStockDataSet.xss ├── employeeRolesDataSet.xss ├── menuPanelsLookupDataSet.xss ├── organizationDataSet.xss ├── posParamDefaultDataSet.xss ├── promotionMapDataSet.xss ├── tableDetailsDataSet.xss ├── currencyCodeDataSet.xss ├── employeeRolesLookupDataSet.xss ├── organizationLookupDataSet.xss ├── employeeRoleEventDataSet.xss ├── loadTransTaxByTransNoDataSet.xss ├── loadTransForAccpacImportDataSet.xss ├── DataModule.cs ├── posConfigDataSet.cs ├── tableDetailsDataSet.cs ├── EclipsePOS.WPF.SystemManager.Data.sln └── packages.config ├── EclipsePOS.WPF.SystemManager.ReportsAndEnquiries ├── BarcodeLib │ ├── BarcodeXML.xss │ ├── BarcodeXML.cs │ ├── BarcodeXML.xsc │ ├── Symbologies │ │ ├── Blank.cs │ │ └── JAN13.cs │ ├── IBarcode.cs │ └── BarcodeCommon.cs ├── Images │ ├── xls.png │ ├── Alert.png │ ├── Search.png │ ├── Wm_pc.gif │ └── sync.png ├── Class1.cs ├── ReportingServices │ ├── AddField.cs │ ├── ReportDefinition.xaml.cs │ ├── ComputeField.cs │ ├── AggregateField.cs │ ├── GroupDefinition.cs │ ├── DecimalAggregateField.cs │ └── DoubleAggregateField.cs ├── Views │ ├── Inventory │ │ ├── ISummaryView.cs │ │ ├── SummaryViewPresenter.cs │ │ ├── SummaryView.xaml │ │ └── SummaryView.xaml.cs │ ├── SalesSummaryView │ │ ├── ISalesSummaryView.cs │ │ ├── SalesSummaryView.xaml │ │ └── SalesSummaryViewPresenter.cs │ ├── XPSDoc │ │ └── IXPSDocView.cs │ ├── ListViewItemStyleSelector.cs │ ├── TaskNavigator │ │ └── IReportsNavigatorView.cs │ ├── TaxDetail │ │ └── ITaxDetailsView.cs │ ├── PaymentSummary │ │ └── IPaymentSummaryView.cs │ ├── PaymentDetailsByDate │ │ └── IPaymentDetailsByDateView.cs │ ├── SalesDetailByDate │ │ └── ISalesDetailByDate.cs │ └── ItemLabels │ │ └── IItemLabelsView.cs └── packages.config ├── CAL ├── Desktop │ ├── Composite │ │ ├── EclipseKey.snk │ │ └── Modularity │ │ │ └── ModuleInfo.Desktop.cs │ ├── Composite.Tests │ │ ├── App.config │ │ ├── Mocks │ │ │ └── Modules │ │ │ │ ├── MockModuleReferencedAssembly.cs │ │ │ │ └── MockModuleLinqToSql.cs │ │ └── Modularity │ │ │ └── ModuleCatalogXaml │ │ │ └── SimpleModuleCatalog.xaml │ ├── Composite.UnityExtensions.Tests │ │ └── Mocks │ │ │ └── MockService.cs │ └── Composite.Presentation.Tests │ │ └── Mocks │ │ └── MockDependencyObject.cs ├── commonservicelocator-master │ ├── src │ │ ├── package.snk │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── ServiceLocatorProvider.cs │ │ ├── Constants.cs │ │ ├── ActivationException.Desktop.cs │ │ └── ServiceLocator.cs │ ├── codecov.yml │ ├── test │ │ ├── Components │ │ │ ├── ILogger.cs │ │ │ ├── SimpleLogger.cs │ │ │ └── AdvancedLogger.cs │ │ ├── CommonServiceLocator.Tests.csproj │ │ ├── MockServiceLocator.cs │ │ ├── ServiceLocatorFixture.cs │ │ └── ServiceLocatorAdapterFixture.cs │ └── appveyor.yml └── CAL.vsmdi ├── EclipsePosUWrun └── Assets │ ├── StoreLogo.png │ ├── LockScreenLogo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Wide310x150Logo.scale-200.png │ ├── Square150x150Logo.scale-200.png │ └── Square44x44Logo.targetsize-24_altform-unplated.png ├── EclipsePOS.WPF.SystemManager ├── App_Data │ ├── Client.cer │ ├── Server.cer │ ├── Server.pvk │ └── ServerCertificate.bat ├── EclipsePOSManager15.ico ├── Eclipse_logo_v1.0.1.ico ├── eclipse_logo_s_v1.0.1.ico ├── Properties │ ├── Settings.settings │ └── Settings.Designer.cs ├── App.xaml ├── App.xaml.cs ├── Shell.xaml.cs └── packages.config ├── EclipsePOS.WPF.SystemManager.PosSetup ├── Images │ ├── A1.ico │ ├── A4.ico │ ├── A5.ico │ ├── A6.ico │ ├── A7.ico │ ├── B2.ico │ ├── sync.png │ ├── Alert.png │ ├── drive.png │ ├── folder.png │ ├── diskdrive.png │ └── stock_folder.png ├── Resources │ ├── CreatePosSite_v103.sql │ └── CreatePosSite_v106.sql ├── Data │ └── ManagedPosEvents.xml ├── Views │ ├── Help │ │ ├── IHelpView.cs │ │ └── HelpViewPresenter.cs │ ├── PosParam │ │ ├── IPosParam.cs │ │ ├── PosParmPresenter.cs │ │ ├── PosParmView.xaml │ │ └── IPosParamView.cs │ ├── PosConfig │ │ ├── IPosConfigView.cs │ │ ├── PosConfigView.xaml │ │ └── IPosConfigurationsView.cs │ ├── FolderPicker │ │ ├── FolderPickerPresenter.cs │ │ └── IFolderPicker.cs │ ├── TaskNavigator │ │ ├── IPosSetupTaskNavigatorView.cs │ │ ├── IPosNavigatorViewPresenter.cs │ │ ├── PosSetupTaskNavigatorViewPresenter.cs │ │ └── PosSetupTaskNavigatorView.xaml.cs │ ├── PosKey │ │ ├── IPosKey.cs │ │ └── PosKeyPresenter.cs │ ├── Discounts │ │ ├── DiscountsView.xaml │ │ └── DiscountsView.xaml.cs │ ├── Organization │ │ ├── IOrganizationViewPresenter.cs │ │ └── IOrganizationView.cs │ ├── PosConfigInput │ │ ├── IInputConfigNoView.cs │ │ └── InputConfigNoPresenter.cs │ ├── NavigatorWorkbench │ │ └── IWorkbenchNavView.cs │ ├── NavigatorOrganization │ │ └── IOrganizationNavView.cs │ ├── ExportData │ │ └── IExportDataView.cs │ ├── ImportData │ │ └── IImportDataView.cs │ ├── NavigatorDataSource │ │ └── IDataSourceNavView.cs │ ├── DataSource │ │ └── IDataSourceView.cs │ ├── StartupSetting │ │ └── ISettings.cs │ ├── StoreGroup │ │ └── IStoreGroupView.cs │ ├── Users │ │ └── IUsersView.cs │ ├── MenuPanels │ │ └── IMenuPanelsView.cs │ ├── CurrencyCode │ │ └── ICurrencyCode.cs │ ├── MenuRoot │ │ ├── PanelIdToNameConverter.cs │ │ └── IMenuRoot.cs │ ├── NewDataSourcePrompt │ │ └── INewDataSource.cs │ ├── MenuConfig │ │ └── IMenuConfigView.cs │ ├── Table │ │ ├── TableDisplayConverter.cs │ │ └── ITableView.cs │ ├── ListViewItemStyleSelector.cs │ ├── NavigatorOperations │ │ └── IOperationsNavView.cs │ ├── CardMedia │ │ └── ICardMedia.cs │ ├── TaxGroup │ │ └── ITaxGroupView.cs │ ├── Tax │ │ └── ITaxView.cs │ ├── Store │ │ └── IStoreView.cs │ ├── Station │ │ └── IStationView.cs │ ├── CurrencyRate │ │ └── ICurrencyView.cs │ ├── Employee │ │ └── IEmployeeView.cs │ ├── Surcharge │ │ └── ISerchargeView.cs │ ├── Customer │ │ └── ICustomerView.cs │ └── Promotion │ │ └── IPromotionView.cs ├── packages.config ├── bookdata.xml ├── EclipsePOS.WPF.SystemManager.PosSetup.sln └── Util │ └── MD5ToTextConverter.cs ├── EclipsePOS.WPF.SystemManager.Inventory ├── Images │ └── xls.png ├── Views │ ├── Plu │ │ ├── IPluView.cs │ │ ├── PluViewPresenter.cs │ │ └── PluView.xaml.cs │ ├── Help │ │ ├── IHelpView.cs │ │ └── HelpViewPresenter.cs │ ├── TaskNavigator │ │ ├── IInventoryTaskNavigatorView.cs │ │ ├── IInventoryNavigatorViewPresenter.cs │ │ ├── InventoryTaskNavigatorViewPresenter.cs │ │ ├── IInventoryNavigatorView.cs │ │ ├── InventoryTaskNavigatorView.xaml │ │ └── InventoryTaskNavigatorView.xaml.cs │ ├── Department │ │ ├── IDepartmentViewPresenter.cs │ │ └── IDepartmentView.cs │ ├── DefaultStoreGroup │ │ └── IDefaultStoreGroupView.cs │ ├── Test │ │ ├── FullLayout.xaml.cs │ │ └── FullLayout.xaml │ ├── ListViewItemStyleSelector.cs │ ├── ItemGroup │ │ └── IItemGroupView.cs │ ├── Stock │ │ └── IStockDiaryView.cs │ ├── Stock_1 │ │ └── IStockDiaryView.cs │ └── ItemList │ │ └── IItemListView.cs ├── packages.config └── Properties │ └── Settings.settings └── EclipsePOS.WPF.SystemManager.Infrastructure ├── Images ├── xls.png ├── Alert.png ├── Search.png ├── User.png ├── Wm_pc.gif ├── home.png ├── next.png ├── sync.png ├── Manager.png ├── previous.png ├── Job_Search.png ├── DefaultHeader.jpg └── EclipseLogo_sm.png ├── Services ├── ILoginViewPresenter.cs ├── IAuthenticationService.cs ├── IMessageBoxService.cs └── User.cs ├── Views ├── ModuleNavigator │ ├── IModuleNavigatorView.cs │ ├── ModuleNavigatorViewPresenter.cs │ └── ModuleNavigatorView.xaml ├── Login │ ├── ILoginView.cs │ └── LoginViewPresenter.cs └── Defaults │ └── MainRegionView.xaml.cs ├── Properties └── Settings.settings ├── packages.config ├── Constants └── Commands.cs └── EclipsePOS.WPF.SystemManager.Infrastructure.sln /EclipsePOS.WPF.SystemManager.Data/ClassDiagram1.cd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/dialogDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/dialogDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuRootDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuRootDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posKeyDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posKeyDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/possiteDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/possiteDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/usersDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/CardMediaDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/CardMediaDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/OrganiztionDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/OrganiztionDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/StoreGroupDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/StoreGroupDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuConfigDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuConfigDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuPanelsDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuPanelsDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/shipmentsDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/stockBalanceDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/stockBalanceDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/eclipseposdataDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/eclipseposdataDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/helpTextPosParamDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuRootLookupDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posConfigLookupDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posConfigLookupDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/shipmentDetailsDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/shipmentDetailsDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/updateStockBalanceDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/updateStockBalanceDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadRetailStoreCustomerDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadRetailStoreCustomerDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadTransByUploadSessionNoDataSet.xsc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadTransByUploadSessionNoDataSet.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/BarcodeLib/BarcodeXML.xss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CAL/Desktop/Composite/EclipseKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/CAL/Desktop/Composite/EclipseKey.snk -------------------------------------------------------------------------------- /EclipsePosUWrun/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePosUWrun/Assets/StoreLogo.png -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/src/package.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/CAL/commonservicelocator-master/src/package.snk -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/App_Data/Client.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager/App_Data/Client.cer -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/App_Data/Server.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager/App_Data/Server.cer -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/App_Data/Server.pvk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager/App_Data/Server.pvk -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/CardMediaDataSet.cs: -------------------------------------------------------------------------------- 1 | namespace EclipsePOS.WPF.SystemManager.Data 2 | { 3 | } 4 | 5 | namespace EclipsePOS.WPF.SystemManager.Data 6 | { 7 | } -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/A1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/A1.ico -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/A4.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/A4.ico -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/A5.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/A5.ico -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/A6.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/A6.ico -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/A7.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/A7.ico -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/B2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/B2.ico -------------------------------------------------------------------------------- /EclipsePosUWrun/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePosUWrun/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Images/xls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Inventory/Images/xls.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/sync.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/EclipsePOSManager15.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager/EclipsePOSManager15.ico -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/Eclipse_logo_v1.0.1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager/Eclipse_logo_v1.0.1.ico -------------------------------------------------------------------------------- /EclipsePosUWrun/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePosUWrun/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /EclipsePosUWrun/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePosUWrun/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/src/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Security; 3 | 4 | [assembly:CLSCompliant(true)] 5 | [assembly:SecurityTransparent] 6 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/Alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/Alert.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/drive.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/folder.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/eclipse_logo_s_v1.0.1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager/eclipse_logo_s_v1.0.1.ico -------------------------------------------------------------------------------- /EclipsePosUWrun/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePosUWrun/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/xls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/xls.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/diskdrive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/diskdrive.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/Alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/Alert.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/Search.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/User.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/User.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/Wm_pc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/Wm_pc.gif -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/home.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/next.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/sync.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Images/stock_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Images/stock_folder.png -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "tests/*" # Ignore tests 3 | - "src/Utility/*" # Ignore utilities 4 | - "**/*.Designer.cs" # Ignore generated code 5 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/organizationLookupDataSet.cs: -------------------------------------------------------------------------------- 1 | namespace EclipsePOS.WPF.SystemManager.Data 2 | { 3 | 4 | 5 | public partial class organizationLookupDataSet 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/Manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/Manager.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/previous.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/xls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/xls.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/Job_Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/Job_Search.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/Alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/Alert.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/Search.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/Wm_pc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/Wm_pc.gif -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Images/sync.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/DefaultHeader.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/DefaultHeader.jpg -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Images/EclipseLogo_sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.Infrastructure/Images/EclipseLogo_sm.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Resources/CreatePosSite_v103.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Resources/CreatePosSite_v103.sql -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Resources/CreatePosSite_v106.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePOS.WPF.SystemManager.PosSetup/Resources/CreatePosSite_v106.sql -------------------------------------------------------------------------------- /EclipsePosUWrun/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/EclipsePOS.WPF.SystemManager/HEAD/EclipsePosUWrun/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/BarcodeLib/BarcodeXML.cs: -------------------------------------------------------------------------------- 1 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.BarcodeLib 2 | { 3 | 4 | 5 | public partial class BarcodeXML 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Data/ManagedPosEvents.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/App_Data/ServerCertificate.bat: -------------------------------------------------------------------------------- 1 | makecert -r -pe -n "CN=CompanyXYZ Server" -b 01/01/2007 -e 01/01/2010 -sky exchange Server.cer -sv Server.pvk 2 | pvk2pfx.exe -pvk Server.pvk -spc Server.cer -pfx Server.pfx 3 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Plu/IPluView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Plu 7 | { 8 | interface IPluView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Class1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries 7 | { 8 | public class Class1 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Help/IHelpView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Help 7 | { 8 | public interface IHelpView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Help/IHelpView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Help 7 | { 8 | public interface IHelpView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosParam/IPosParam.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosParam 7 | { 8 | interface IPosParam 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posParamDataSet.cs: -------------------------------------------------------------------------------- 1 | namespace EclipsePOS.WPF.SystemManager.Data 2 | { 3 | } 4 | 5 | namespace EclipsePOS.WPF.SystemManager.Data 6 | { 7 | } 8 | 9 | namespace EclipsePOS.WPF.SystemManager.Data 10 | { 11 | } 12 | namespace EclipsePOS.WPF.SystemManager.Data 13 | { 14 | } 15 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosConfig/IPosConfigView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosConfig 7 | { 8 | public interface IPosConfigView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosParam/PosParmPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosParam 7 | { 8 | class PosParmPresenter 9 | { 10 | 11 | 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/ReportingServices/AddField.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices 7 | { 8 | class AddField 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/Inventory/ISummaryView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.Inventory 7 | { 8 | interface ISummaryView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/test/Components/ILogger.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. 2 | 3 | namespace ServiceLocation.Tests.Components 4 | { 5 | public interface ILogger 6 | { 7 | void Log(string msg); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/FolderPicker/FolderPickerPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.FolderPicker 7 | { 8 | public class FolderPickerPresenter 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/Inventory/SummaryViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.Inventory 7 | { 8 | class SummaryViewPresenter 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/TaskNavigator/IPosSetupTaskNavigatorView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.TaskNavigator 7 | { 8 | interface IPosSetupTaskNavigatorView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/TaskNavigator/IInventoryTaskNavigatorView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.TaskNavigator 7 | { 8 | interface IInventoryTaskNavigatorView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Services/ILoginViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Services 7 | { 8 | public interface ILoginViewPresenter 9 | { 10 | void Show(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/SalesSummaryView/ISalesSummaryView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.SalesSummaryView 7 | { 8 | public interface ISalesSummaryView 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Department/IDepartmentViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Department 7 | { 8 | public interface IDepartmentViewPresenter 9 | { 10 | IDepartmentView View { set; get; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosKey/IPosKey.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosKey 7 | { 8 | public interface IPosKey 9 | { 10 | void SetDataContext(object data); 11 | void SetFocusToFirstElement(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosParam/PosParmView.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Views/ModuleNavigator/IModuleNavigatorView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Views.ModuleNavigator 7 | { 8 | public interface IModuleNavigatorView 9 | { 10 | 11 | void ShowDisplay(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Discounts/DiscountsView.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/FolderPicker/IFolderPicker.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.FolderPicker 7 | { 8 | public interface IFolderPicker 9 | { 10 | int ShowInputDialog(); 11 | string Path { get; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Organization/IOrganizationViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Organization 7 | { 8 | public interface IOrganizationViewPresenter 9 | { 10 | IOrganizationView View { set; get; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/TaskNavigator/IPosNavigatorViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.TaskNavigator 7 | { 8 | public interface IPosNavigatorViewPresenter 9 | { 10 | IPosNavigatorView View {set; get;} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/test/Components/SimpleLogger.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. 2 | 3 | using System; 4 | 5 | namespace ServiceLocation.Tests.Components 6 | { 7 | public class SimpleLogger : ILogger 8 | { 9 | public void Log(string msg) 10 | { 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/Inventory/SummaryView.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/test/Components/AdvancedLogger.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. 2 | 3 | using System; 4 | 5 | namespace ServiceLocation.Tests.Components 6 | { 7 | public class AdvancedLogger : ILogger 8 | { 9 | public void Log(string msg) 10 | { 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/ItemsDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/storeDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/taxDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/transDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/usersDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/TaskNavigator/IInventoryNavigatorViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.TaskNavigator 7 | { 8 | public interface IInventoryNavigatorViewPresenter 9 | { 10 | IInventoryNavigatorView View { set; get; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/DepartmentDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/ItemGroupDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/TaxGroupDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/currencyDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/customerDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posConfigDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posParamDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/promotionDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/shipmentsDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/stationDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/surchargeDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/tableGroupDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/transStockDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/currencyCodeDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeRolesDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/helpTextPosParamDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuPanelsLookupDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuRootLookupDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/organizationDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posParamDefaultDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posTransUploadDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/promotionMapDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/tableDetailsDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeRoleEventDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeRolesLookupDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadTransTaxByTransNoDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/organizationLookupDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/SalesSummaryView/SalesSummaryView.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadTransForAccpacImportDataSet.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/DefaultStoreGroup/IDefaultStoreGroupView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.DefaultStoreGroup 8 | { 9 | public interface IDefaultStoreGroupView 10 | { 11 | void SetStoreGroupDataContext(IEnumerable data); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/BarcodeLib/BarcodeXML.xsc: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Services/IAuthenticationService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Services 7 | { 8 | public interface IAuthenticationService 9 | { 10 | bool Authenticate(); 11 | // Guid CurrentUserId { get; } 12 | User CurrentUser { get; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosConfig/PosConfigView.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosConfigInput/IInputConfigNoView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosConfigInput 8 | { 9 | public interface IInputConfigNoView 10 | { 11 | int ShowInputDialog(); 12 | void SetPosConfigDataContext(IEnumerable data); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/src/ServiceLocatorProvider.cs: -------------------------------------------------------------------------------- 1 | namespace CommonServiceLocator 2 | { 3 | /// 4 | /// This delegate type is used to provide a method that will 5 | /// return the current container. Used with the 6 | /// static accessor class. 7 | /// 8 | /// An . 9 | public delegate IServiceLocator ServiceLocatorProvider(); 10 | } 11 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Views/Login/ILoginView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Views.Login 8 | { 9 | public interface ILoginView 10 | { 11 | void ShowMessage(string message); 12 | 13 | void LoadResources(); 14 | 15 | void ShowLoginDialog(); 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /CAL/CAL.vsmdi: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/BarcodeLib/Symbologies/Blank.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.BarcodeLib.Symbologies 6 | { 7 | class Blank: BarcodeCommon, IBarcode 8 | { 9 | 10 | #region IBarcode Members 11 | 12 | public string Encoded_Value 13 | { 14 | get { throw new NotImplementedException(); } 15 | } 16 | 17 | #endregion 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /CAL/Desktop/Composite.Tests/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 | 7 | 10 | 11 |
-------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/XPSDoc/IXPSDocView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Xps.Packaging; 6 | using System.Windows.Controls; 7 | 8 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.XPSDoc 9 | { 10 | public interface IXPSDocView 11 | { 12 | void DisplayDoc(XpsDocument doc); 13 | void SetSaveToDiskBtnDataContext(object command); 14 | 15 | DocumentViewer GetDocument { get; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosKey/PosKeyPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosKey 7 | { 8 | public class PosKeyPresenter 9 | { 10 | private IPosKey _view; 11 | 12 | public IPosKey View 13 | { 14 | set 15 | { 16 | _view = value; 17 | } 18 | get 19 | { 20 | return _view; 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/BarcodeLib/IBarcode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.BarcodeLib 6 | { 7 | interface IBarcode 8 | { 9 | string Encoded_Value 10 | { 11 | get; 12 | }//Encoded_Value 13 | 14 | string RawData 15 | { 16 | get; 17 | }//Raw_Data 18 | 19 | List Errors 20 | { 21 | get; 22 | }//Errors 23 | 24 | }//interface 25 | }//namespace 26 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/NavigatorWorkbench/IWorkbenchNavView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Input; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.NavigatorWorkbench 8 | { 9 | public interface IWorkbenchNavView 10 | { 11 | void SetPosConfigContext(ICommand command); 12 | void SetPosParamContext(ICommand command); 13 | void SetMenuRootContext(ICommand command); 14 | void SetStartPosContext(ICommand command); 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Help/HelpViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Help 7 | { 8 | public class HelpViewPresenter 9 | { 10 | private IHelpView _view; 11 | 12 | public IHelpView View 13 | { 14 | get 15 | { 16 | return _view; 17 | } 18 | set 19 | { 20 | _view = value; 21 | } 22 | } 23 | 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/NavigatorOrganization/IOrganizationNavView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Input; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.NavigatorOrganization 8 | { 9 | public interface IOrganizationNavView 10 | { 11 | void SetOrganizationContext(ICommand command); 12 | void SetStoreContext(ICommand command); 13 | void SetStationContext(ICommand command); 14 | void SetStartupSettingsContext(ICommand command); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Help/HelpViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Help 7 | { 8 | public class HelpViewPresenter 9 | { 10 | private IHelpView _view; 11 | 12 | public IHelpView View 13 | { 14 | get 15 | { 16 | return _view; 17 | } 18 | set 19 | { 20 | _view = value; 21 | } 22 | } 23 | 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/App.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Windows; 7 | 8 | namespace EclipsePOS.WPF.SystemManager 9 | { 10 | /// 11 | /// Interaction logic for App.xaml 12 | /// 13 | public partial class App : Application 14 | { 15 | 16 | protected override void OnStartup(StartupEventArgs e) 17 | { 18 | base.OnStartup(e); 19 | Bootstrapper bootstrapper = new Bootstrapper(); 20 | bootstrapper.Run(); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/test/CommonServiceLocator.Tests.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net47 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Services/IMessageBoxService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | 7 | 8 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Services 9 | { 10 | interface IMessageBoxService 11 | { 12 | MessageBoxResult Show(string text); 13 | MessageBoxResult Show(string text, string caption); 14 | MessageBoxResult Show(string text, string caption, MessageBoxButton buttons); 15 | MessageBoxResult Show(string text, string caption, MessageBoxButton buttons, MessageBoxImage icon); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/ExportData/IExportDataView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.ExportData 7 | { 8 | public interface IExportDataView 9 | { 10 | int ShowInputDialog(); 11 | 12 | void SetOKBtnDataContext(object command); 13 | void SetFolderPickerBtnDataContext(object command); 14 | void CloseDialog(); 15 | void StartBusyIndicator(); 16 | void EndBusyIndicator(); 17 | string OutputFolderPath(); 18 | void SetPath(string path); 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/ImportData/IImportDataView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.ImportData 7 | { 8 | public interface IImportDataView 9 | { 10 | 11 | int ShowInputDialog(); 12 | 13 | void SetOKBtnDataContext(object command); 14 | void SetFolderPickerBtnDataContext(object command); 15 | void CloseDialog(); 16 | void StartBusyIndicator(); 17 | void EndBusyIndicator(); 18 | string InputFolderPath(); 19 | 20 | void SetPath(string path); 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/SalesSummaryView/SalesSummaryViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.SalesSummaryView 7 | { 8 | public class SalesSummaryViewPresenter 9 | { 10 | ISalesSummaryView _view; 11 | 12 | public ISalesSummaryView View 13 | { 14 | set 15 | { 16 | _view = value; 17 | } 18 | get 19 | { 20 | return _view; 21 | } 22 | } 23 | 24 | 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/TaskNavigator/InventoryTaskNavigatorViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.TaskNavigator 7 | { 8 | class InventoryTaskNavigatorViewPresenter 9 | { 10 | 11 | public InventoryTaskNavigatorViewPresenter(IInventoryTaskNavigatorView inventoryTaskNavigator) 12 | { 13 | View = inventoryTaskNavigator; 14 | } 15 | 16 | public IInventoryTaskNavigatorView View 17 | { 18 | get; 19 | private set; 20 | } 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/TaskNavigator/IInventoryNavigatorView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Input; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.TaskNavigator 8 | { 9 | public interface IInventoryNavigatorView 10 | { 11 | void SetDataContextDeptView(ICommand command); 12 | void SetDataContextItemGroupView(ICommand command); 13 | void SetDataContextItemListView(ICommand command); 14 | void SetDataContextStockDiaryView(ICommand command); 15 | //void SetDataContextStoreGroupView(ICommand command); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/NavigatorDataSource/IDataSourceNavView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Input; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.NavigatorDataSource 8 | { 9 | public interface IDataSourceNavView 10 | { 11 | void SetNewDataBaseBtnDataContext(object command); 12 | void SetExistingDataBaseBtnDataContext(object command); 13 | void SetBackupDataBaseBtnDataContext(object command); 14 | void SetExportDataBtnDataContext(object command); 15 | void SetImportDataBtnDataContext(object command); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posTransUploadDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/DataSource/IDataSourceView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.DataSource 7 | { 8 | public interface IDataSourceView 9 | { 10 | void SetCurrDataSourcePath(string path); 11 | // void SetDemoDataBaseBtnDataContext(object command); 12 | // void SetNewDataBaseBtnDataContext(object command); 13 | // void SetExistingDataBaseBtnDataContext(object command); 14 | // void SetBackupDataBaseBtnDataContext(object command); 15 | // void SetExportDataBtnDataContext(object command); 16 | // void SetImportDataBtnDataContext(object command); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Plu/PluViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Plu 7 | { 8 | class PluViewPresenter 9 | { 10 | private IPluView _view; 11 | 12 | 13 | public PluViewPresenter() 14 | { 15 | } 16 | 17 | public PluViewPresenter(IPluView view):this() 18 | { 19 | } 20 | 21 | public IPluView View 22 | { 23 | get 24 | { 25 | return _view; 26 | } 27 | 28 | set 29 | { 30 | _view = value; 31 | } 32 | } 33 | 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/Shell.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager 16 | { 17 | /// 18 | /// Interaction logic for Shell.xaml 19 | /// 20 | public partial class Shell : Window 21 | { 22 | public Shell() 23 | { 24 | InitializeComponent(); 25 | 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Test/FullLayout.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Test 16 | { 17 | /// 18 | /// Interaction logic for FullLayout.xaml 19 | /// 20 | public partial class FullLayout : UserControl 21 | { 22 | public FullLayout() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/StartupSetting/ISettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | 8 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.StartupSetting 9 | { 10 | public interface ISettings 11 | { 12 | void SetOrganizationDataContext(IEnumerable data); 13 | void SetStoreDataContext(IEnumerable data); 14 | void SetStationDataContext(IEnumerable data); 15 | void SetPosConfigDataContext(IEnumerable data); 16 | 17 | void SetSaveBtnDataContext(object command); 18 | 19 | void SaveSettings(); 20 | 21 | string Organization { get; set; } 22 | string Store { get; set; } 23 | int Station { get; set; } 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Discounts/DiscountsView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Discounts 16 | { 17 | /// 18 | /// Interaction logic for DiscountsView.xaml 19 | /// 20 | public partial class DiscountsView : UserControl 21 | { 22 | public DiscountsView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/Inventory/SummaryView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.Inventory 16 | { 17 | /// 18 | /// Interaction logic for SummaryView.xaml 19 | /// 20 | public partial class SummaryView : UserControl 21 | { 22 | public SummaryView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Views/Login/LoginViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using EclipsePOS.WPF.SystemManager.Infrastructure.Services; 6 | 7 | 8 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Views.Login 9 | { 10 | public class LoginViewPresenter:ILoginViewPresenter 11 | { 12 | public LoginViewPresenter(ILoginView view) 13 | { 14 | View = view; 15 | View.LoadResources(); 16 | 17 | } 18 | 19 | public ILoginView View 20 | { 21 | get; 22 | private set; 23 | } 24 | 25 | 26 | public void Show() 27 | { 28 | View.ShowLoginDialog(); 29 | 30 | } 31 | 32 | 33 | 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/BarcodeLib/BarcodeCommon.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.BarcodeLib 6 | { 7 | abstract class BarcodeCommon 8 | { 9 | protected string Raw_Data = ""; 10 | protected List _Errors = new List(); 11 | 12 | public string RawData 13 | { 14 | get { return this.Raw_Data; } 15 | } 16 | 17 | public List Errors 18 | { 19 | get { return this._Errors; } 20 | } 21 | 22 | public void Error(string ErrorMessage) 23 | { 24 | this._Errors.Add(ErrorMessage); 25 | throw new Exception(ErrorMessage); 26 | } 27 | 28 | }//BarcodeVariables abstract class 29 | }//namespace 30 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/ReportingServices/ReportDefinition.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices 16 | { 17 | /// 18 | /// Interaction logic for ReportDefinition.xaml 19 | /// 20 | public partial class ReportDefinition : UserControl 21 | { 22 | public ReportDefinition() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/TaskNavigator/InventoryTaskNavigatorView.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | Select a task 8 | 9 | 12 | 15 | 18 | 21 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/bookdata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | XML in Action 4 | XML Web Technology 5 | 6 | 7 | Programming Microsoft Windows With C# 8 | C# Programming using the .NET Framework 9 | 10 | 11 | Inside C# 12 | C# Language Programming 13 | 14 | 15 | Introducing Microsoft .NET 16 | Overview of .NET Technology 17 | 18 | 19 | Microsoft C# Language Specifications 20 | The C# language definition 21 | 22 | 23 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/src/Constants.cs: -------------------------------------------------------------------------------- 1 | namespace CommonServiceLocator 2 | { 3 | internal static class Constants 4 | { 5 | // Message shown if an exception occurs during a GetAllInstances call 6 | public const string ActivateAllExceptionMessage = 7 | "Activation error occurred while trying to get all instances of type {0}"; 8 | 9 | //Message shown on exception in GetInstance method 10 | public const string ActivationExceptionMessage = 11 | "Activation error occurred while trying to get instance of type {0}, key \"{1}\""; 12 | 13 | //Message shown if ServiceLocator.Current called before ServiceLocationProvider is set. 14 | public const string ServiceLocationProviderNotSetMessage = 15 | " ServiceLocationProvider must be set."; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/taxDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/StoreGroup/IStoreGroupView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.StoreGroup 7 | { 8 | public interface IStoreGroupView 9 | { 10 | void SetStoreGroupDataContext(object data); 11 | void SetSelectedItemCursor(); 12 | 13 | void SetMoveToFirstBtnDataContext(object command); 14 | void SetMoveToPreviousBtnDataContext(object command); 15 | void SetMoveToNextBtnDataContext(object command); 16 | void SetMoveToLastBtnDataContext(object command); 17 | 18 | void SetDeleteBtnDataContext(object command); 19 | void SetAddBtnDataContext(object command); 20 | void SetRevertBtnDataContext(object command); 21 | void SetSaveBtnDataContext(object command); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/ReportingServices/ComputeField.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Data; 6 | using System.Windows.Markup; 7 | 8 | [assembly: XmlnsDefinition("http://www.eclipse_software.com.sg/WPF", "EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices")] 9 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices 10 | { 11 | public abstract class ComputeField 12 | { 13 | public abstract void UpdateValue(IDataReader reader); 14 | 15 | public abstract object Value { get; } 16 | 17 | } 18 | 19 | /// 20 | /// Supported aggregate types 21 | /// 22 | public enum AggegateType 23 | { 24 | None, 25 | Sum, 26 | Count, 27 | Min, 28 | Max 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/ItemsDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/stationDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/transDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/ItemGroupDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/customerDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posConfigDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posParamDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/storeDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/surchargeDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/TaskNavigator/PosSetupTaskNavigatorViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using EclipsePOS.WPF.SystemManager.Infrastructure.Constants; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.TaskNavigator 8 | { 9 | class PosSetupTaskNavigatorViewPresenter 10 | { 11 | public PosSetupTaskNavigatorViewPresenter(IPosSetupTaskNavigatorView postSetupNavigator) 12 | { 13 | View = postSetupNavigator; 14 | // Commands.ShowPosSetupTaskView.RegisterCommand(Commands.ShowPosSetupTaskView); 15 | 16 | } 17 | 18 | public IPosSetupTaskNavigatorView View 19 | { 20 | get; 21 | private set; 22 | } 23 | 24 | public void ShowView() 25 | { 26 | 27 | } 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/DepartmentDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/TaxGroupDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/currencyDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/promotionDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/tableGroupDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/transStockDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/TaskNavigator/PosSetupTaskNavigatorView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.TaskNavigator 16 | { 17 | /// 18 | /// Interaction logic for PosSetupTaskNavigatorView.xaml 19 | /// 20 | public partial class PosSetupTaskNavigatorView : UserControl, IPosSetupTaskNavigatorView 21 | { 22 | public PosSetupTaskNavigatorView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeRolesDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/menuPanelsLookupDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/organizationDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posParamDefaultDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/promotionMapDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/tableDetailsDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Views/ModuleNavigator/ModuleNavigatorViewPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using EclipsePOS.WPF.SystemManager.Infrastructure.Constants; 6 | using Microsoft.Practices.Composite.Events; 7 | using Microsoft.Practices.Composite.Presentation.Commands; 8 | using System.Windows.Controls; 9 | using System.Windows; 10 | 11 | 12 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Views.ModuleNavigator 13 | { 14 | class ModuleNavigatorViewPresenter 15 | { 16 | 17 | 18 | public ModuleNavigatorViewPresenter(IModuleNavigatorView view) 19 | { 20 | View = view; 21 | 22 | } 23 | 24 | public IModuleNavigatorView View 25 | { 26 | get; 27 | private set; 28 | 29 | } 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/currencyCodeDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeRolesLookupDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/organizationLookupDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/TaskNavigator/InventoryTaskNavigatorView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.TaskNavigator 16 | { 17 | /// 18 | /// Interaction logic for InventoryTaskNavigatorView.xaml 19 | /// 20 | public partial class InventoryTaskNavigatorView : UserControl, IInventoryTaskNavigatorView 21 | { 22 | public InventoryTaskNavigatorView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/employeeRoleEventDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Constants/Commands.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Reflection; 6 | using System.Runtime.InteropServices; 7 | 8 | using Microsoft.Practices.Composite.Presentation.Commands; 9 | 10 | 11 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Constants 12 | { 13 | public class Commands 14 | { 15 | public static CompositeCommand ShowPosSetupTaskView = new CompositeCommand(); 16 | public static CompositeCommand ShowInventoryTaskView = new CompositeCommand(); 17 | public static CompositeCommand ShowDataSourceTaskView = new CompositeCommand(); 18 | public static CompositeCommand ShowEnquiryAndReportsTaskView = new CompositeCommand(); 19 | 20 | //Beep sound 21 | [DllImport("kernel32.dll")] 22 | public static extern bool Beep(int freq,int duration); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Users/IUsersView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Users 7 | { 8 | public interface IUsersView 9 | { 10 | void SetUsersDataContext(object data); 11 | void SetSelectedItemCursor(); 12 | 13 | void SetMoveToFirstBtnDataContext(object command); 14 | void SetMoveToPreviousBtnDataContext(object command); 15 | void SetMoveToNextBtnDataContext(object command); 16 | void SetMoveToLastBtnDataContext(object command); 17 | 18 | void SetDeleteBtnDataContext(object command); 19 | void SetAddBtnDataContext(object command); 20 | void SetRevertBtnDataContext(object command); 21 | void SetSaveBtnDataContext(object command); 22 | 23 | void SetFocusToFirstElement(); 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadTransTaxByTransNoDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/loadTransForAccpacImportDataSet.xss: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/MenuPanels/IMenuPanelsView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.MenuPanels 7 | { 8 | public interface IMenuPanelsView 9 | { 10 | void SetMenuPanelsDataContext(object data); 11 | // void SetConfigNoDataContext(IEnumerable data); 12 | 13 | void SetSelectedItemCursor(); 14 | 15 | void SetMoveToFirstBtnDataContext(object command); 16 | void SetMoveToPreviousBtnDataContext(object command); 17 | void SetMoveToNextBtnDataContext(object command); 18 | void SetMoveToLastBtnDataContext(object command); 19 | 20 | void SetDeleteBtnDataContext(object command); 21 | void SetAddBtnDataContext(object command); 22 | void SetRevertBtnDataContext(object command); 23 | void SetSaveBtnDataContext(object command); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosConfig/IPosConfigurationsView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosConfig 7 | { 8 | public interface IPosConfigurationsView 9 | { 10 | void SetPosConfigDataContext(object data); 11 | void SetSelectedItemCursor(); 12 | 13 | void SetMoveToFirstBtnDataContext(object command); 14 | void SetMoveToPreviousBtnDataContext(object command); 15 | void SetMoveToNextBtnDataContext(object command); 16 | void SetMoveToLastBtnDataContext(object command); 17 | 18 | void SetDeleteBtnDataContext(object command); 19 | void SetAddBtnDataContext(object command); 20 | void SetRevertBtnDataContext(object command); 21 | void SetSaveBtnDataContext(object command); 22 | 23 | void SetFocusToFirstElement(); 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/appveyor.yml: -------------------------------------------------------------------------------- 1 | image: Visual Studio 2017 2 | configuration: Release 3 | platform: Any CPU 4 | 5 | install: 6 | - ps: $env:build_version = (Select-Xml -Path ".\src\CommonServiceLocator.csproj" -XPath "/Project/PropertyGroup/Version" | Select-Object -ExpandProperty Node).InnerText 7 | - ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER" 8 | 9 | before_build: 10 | - cmd: dotnet restore 11 | 12 | build: 13 | project: package.sln 14 | parallel: true 15 | verbosity: minimal 16 | 17 | dotnet_csproj: 18 | patch: false 19 | 20 | after_build: 21 | - choco install opencover.portable 22 | - choco install codecov 23 | 24 | test_script: 25 | - OpenCover.Console.exe -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --framework net47 --verbosity q" 26 | 27 | after_test: 28 | - codecov -f "results.xml" 29 | 30 | artifacts: 31 | - path: '**\CommonServiceLocator.*.nupkg' 32 | name: 'CommonServiceLocator' 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/CurrencyCode/ICurrencyCode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.CurrencyCode 7 | { 8 | public interface ICurrencyCode 9 | { 10 | void SetCurrencyCodeDataContext(object data); 11 | void SetSelectedItemCursor(); 12 | 13 | void SetMoveToFirstBtnDataContext(object command); 14 | void SetMoveToPreviousBtnDataContext(object command); 15 | void SetMoveToNextBtnDataContext(object command); 16 | void SetMoveToLastBtnDataContext(object command); 17 | 18 | void SetDeleteBtnDataContext(object command); 19 | void SetAddBtnDataContext(object command); 20 | void SetRevertBtnDataContext(object command); 21 | void SetSaveBtnDataContext(object command); 22 | 23 | void SetFocusToFirstElement(); 24 | void SetColumnsEnabled(bool flag); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/MenuRoot/PanelIdToNameConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Data; 6 | using System.Globalization; 7 | using System.Collections; 8 | using System.Data; 9 | 10 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.MenuRoot 11 | { 12 | [ValueConversion(typeof(DataRowView), typeof(String))] 13 | public class PanelIdToNameConverter:IValueConverter 14 | { 15 | 16 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 17 | { 18 | // int panelID = int.Parse(value.ToString()); 19 | return "testing"; 20 | } 21 | 22 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 23 | { 24 | string strValue = value.ToString(); 25 | return "1"; 26 | } 27 | 28 | 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/NewDataSourcePrompt/INewDataSource.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.NewDataSourcePrompt 7 | { 8 | public interface INewDataSource 9 | { 10 | bool IncludeSampleData{get; set;} 11 | CreateMode Mode{ get; set; } 12 | void SetOKBtnDataContext(object command); 13 | bool FieldEmpty(); 14 | string ServerInstance { set; get; } 15 | string DatabaseName { set; get; } 16 | string UserName { set; get; } 17 | string Password { set; get; } 18 | int Authentication { set; get; } 19 | void StartSyncAnimation(); 20 | void EndSyncAnimation(); 21 | void SetDataSourcePath(); 22 | 23 | } 24 | 25 | public enum CreateMode 26 | { 27 | 28 | NewEmptyDatabase = 2, 29 | ExistingDatabase = 3 30 | } 31 | 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/ReportingServices/AggregateField.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Markup; 6 | 7 | [assembly:XmlnsDefinition("http://www.eclipse_software.com.sg/WPF", "EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices")] 8 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices 9 | { 10 | public abstract class AggregateField : ComputeField 11 | 12 | { 13 | /// 14 | /// the ordinal position in the datasource 15 | /// 16 | protected int ordinal; 17 | 18 | public AggregateField(int ordinal) 19 | { 20 | this.ordinal = ordinal; 21 | } 22 | 23 | AggegateType aggregate = AggegateType.Sum; 24 | 25 | public AggegateType Aggregate 26 | { 27 | get { return aggregate; } 28 | set { aggregate = value; } 29 | } 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosParam/IPosParamView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosParam 8 | { 9 | public interface IPosParamView 10 | { 11 | void SetPosParamDataContext(object data); 12 | void SetPosConfigDataContext(IEnumerable data); 13 | 14 | void SetSelectedItemCursor(); 15 | 16 | void SetMoveToFirstBtnDataContext(object command); 17 | void SetMoveToPreviousBtnDataContext(object command); 18 | void SetMoveToNextBtnDataContext(object command); 19 | void SetMoveToLastBtnDataContext(object command); 20 | 21 | void SetDeleteBtnDataContext(object command); 22 | void SetAddBtnDataContext(object command); 23 | void SetRevertBtnDataContext(object command); 24 | void SetSaveBtnDataContext(object command); 25 | 26 | void SetHelpText(string text); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/MenuConfig/IMenuConfigView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.MenuConfig 8 | { 9 | public interface IMenuConfigView 10 | { 11 | void SetMenuConfigDataContext(object data); 12 | void SetMenuIDDataContext(IEnumerable data); 13 | void SetMenuPanelsDataContext(IEnumerable data); 14 | 15 | void SetSelectedItemCursor(); 16 | 17 | void SetMoveToFirstBtnDataContext(object command); 18 | void SetMoveToPreviousBtnDataContext(object command); 19 | void SetMoveToNextBtnDataContext(object command); 20 | void SetMoveToLastBtnDataContext(object command); 21 | 22 | void SetDeleteBtnDataContext(object command); 23 | void SetAddBtnDataContext(object command); 24 | void SetRevertBtnDataContext(object command); 25 | void SetSaveBtnDataContext(object command); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/test/MockServiceLocator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using CommonServiceLocator; 5 | 6 | namespace ServiceLocation.Tests.Mocks 7 | { 8 | public class MockServiceLocator : ServiceLocatorImplBase 9 | { 10 | private readonly IEnumerable _objects; 11 | 12 | public MockServiceLocator(IEnumerable list) 13 | { 14 | _objects = list; 15 | } 16 | 17 | 18 | 19 | protected override object DoGetInstance(Type serviceType, string key) 20 | { 21 | return null == key ? _objects.First(o => serviceType.IsAssignableFrom(o.GetType())) 22 | : _objects.First(o => serviceType.IsAssignableFrom(o.GetType()) && Equals(key, o.GetType().FullName)); 23 | } 24 | 25 | protected override IEnumerable DoGetAllInstances(Type serviceType) 26 | { 27 | return _objects.Where(o => serviceType.IsAssignableFrom(o.GetType())); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/DataModule.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.Practices.Unity; 3 | using System.Data.Linq; 4 | using Prism.Modularity; 5 | using Prism.Ioc; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Data 8 | { 9 | public class DataModule : IModule 10 | { 11 | private IUnityContainer _container; 12 | public DataModule(IUnityContainer container) 13 | { 14 | _container = container; 15 | } 16 | 17 | public void Initialize() 18 | { 19 | RegisterServices(); 20 | } 21 | 22 | public void OnInitialized(IContainerProvider containerProvider) 23 | { 24 | throw new NotImplementedException(); 25 | } 26 | 27 | public void RegisterTypes(IContainerRegistry containerRegistry) 28 | { 29 | throw new NotImplementedException(); 30 | } 31 | 32 | private void RegisterServices() 33 | { 34 | _container.RegisterType(); 35 | 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Table/TableDisplayConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.ComponentModel; 6 | using System.Globalization; 7 | using System.Windows.Data; 8 | using System.Windows.Controls; 9 | using EclipsePOS.WPF.SystemManager.Data; 10 | 11 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Table 12 | { 13 | [ValueConversion(typeof(int), typeof(int))] 14 | public class TableDisplayConverter : IValueConverter 15 | { 16 | 17 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 18 | { 19 | // tableDetailsDataSet.table_detailsRow dataRow = value as tableDetailsDataSet.table_detailsRow; 20 | int index = int.Parse(value.ToString())/8; 21 | return index; 22 | 23 | } 24 | 25 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 26 | { 27 | return null; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/ListViewItemStyleSelector.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | 8 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views 9 | { 10 | public class ListViewItemStyleSelector:StyleSelector 11 | { 12 | 13 | private int i; 14 | 15 | public override Style SelectStyle(object item, DependencyObject container) 16 | { 17 | ItemsControl ic = ItemsControl.ItemsControlFromItemContainer(container); 18 | 19 | if (item == ic.Items[0]) 20 | { 21 | i = 0; 22 | } 23 | string key; 24 | 25 | if (i % 2 == 0) 26 | { 27 | key = "LstVwItmStyle1"; 28 | } 29 | else 30 | { 31 | key = "LstVwItmStyle2"; 32 | } 33 | i++; 34 | 35 | return (Style)(ic.FindResource(key)); 36 | } 37 | 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/ListViewItemStyleSelector.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | 8 | 9 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views 10 | { 11 | class ListViewItemStyleSelector : StyleSelector 12 | { 13 | private int i; 14 | 15 | public override Style SelectStyle(object item, DependencyObject container) 16 | { 17 | ItemsControl ic = ItemsControl.ItemsControlFromItemContainer(container); 18 | 19 | if (item == ic.Items[0]) 20 | { 21 | i = 0; 22 | } 23 | string key; 24 | 25 | if (i % 2 == 0) 26 | { 27 | key = "LstVwItmStyle1"; 28 | } 29 | else 30 | { 31 | key = "LstVwItmStyle2"; 32 | } 33 | i++; 34 | 35 | return (Style)(ic.FindResource(key)); 36 | } 37 | 38 | 39 | 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Views/Defaults/MainRegionView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Views.Defaults 16 | { 17 | /// 18 | /// Interaction logic for MainRegionView.xaml 19 | /// 20 | public partial class MainRegionView : UserControl 21 | { 22 | public MainRegionView() 23 | { 24 | InitializeComponent(); 25 | 26 | } 27 | 28 | private void rootControl_Loaded(object sender, RoutedEventArgs e) 29 | { 30 | this.rootControl.Height = Math.Ceiling(Application.Current.MainWindow.ActualHeight * 0.82); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/NavigatorOperations/IOperationsNavView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Input; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.NavigatorOperations 8 | { 9 | public interface IOperationsNavView 10 | { 11 | void SetEmployeeRolesContext(ICommand command); 12 | void SetEmployeeContext(ICommand command); 13 | void SetPromotionContext(ICommand command); 14 | void SetTableGroupContext(ICommand command); 15 | void SetTableContext(ICommand command); 16 | void SetTaxGroupContext(ICommand command); 17 | void SetTaxContext(ICommand command); 18 | void SetCurrencyCodeContext(ICommand command); 19 | void SetCurrencyRateContext(ICommand command); 20 | void SetCustomerContext(ICommand command); 21 | void SetUsersContext(ICommand command); 22 | void SetSurchargesContext(ICommand command); 23 | void SetCardMediaContext(ICommand command); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/ListViewItemStyleSelector.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | 8 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views 9 | { 10 | public class ListViewItemStyleSelector : StyleSelector 11 | { 12 | 13 | private int i; 14 | 15 | public override Style SelectStyle(object item, DependencyObject container) 16 | { 17 | ItemsControl ic = ItemsControl.ItemsControlFromItemContainer(container); 18 | 19 | if (item == ic.Items[0]) 20 | { 21 | i = 0; 22 | } 23 | string key; 24 | 25 | if (i % 2 == 0) 26 | { 27 | key = "LstVwItmStyle1"; 28 | } 29 | else 30 | { 31 | key = "LstVwItmStyle2"; 32 | } 33 | i++; 34 | 35 | return (Style)(ic.FindResource(key)); 36 | } 37 | 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Table/ITableView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Table 8 | { 9 | public interface ITableView 10 | { 11 | void SetTableDataContext(object data); 12 | void SetSelectedItemCursor(); 13 | 14 | void SetMoveToFirstBtnDataContext(object command); 15 | void SetMoveToPreviousBtnDataContext(object command); 16 | void SetMoveToNextBtnDataContext(object command); 17 | void SetMoveToLastBtnDataContext(object command); 18 | 19 | void SetDeleteBtnDataContext(object command); 20 | void SetAddBtnDataContext(object command); 21 | void SetRevertBtnDataContext(object command); 22 | void SetSaveBtnDataContext(object command); 23 | 24 | void SetTableGroupDataContext(IEnumerable data); 25 | void DrawTableModel(); 26 | 27 | int SelectedTableGroupNo(); 28 | 29 | void SetColumnsEnabled(bool flag); 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/TaskNavigator/IReportsNavigatorView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Input; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.TaskNavigator 8 | { 9 | public interface IReportsNavigatorView 10 | { 11 | void SetDataContextSalesSummaryReportView(ICommand command); 12 | void SetDataContextSalesDetailsByDate(ICommand command); 13 | void SetDataContextSalesBySalesPerson(ICommand command); 14 | void SetDataContextPaymentDetailsByDate(ICommand command); 15 | void SetDataContextPaymentSummary(ICommand command); 16 | void SetDataContextTaxDetails(ICommand command); 17 | void SetDataContextItemLabels(ICommand command); 18 | 19 | void SetDataContextInventory(ICommand command); 20 | void SetDataContextInventoryDetails(ICommand command); 21 | void SetDataContextStockDiary(ICommand command); 22 | void SetDataContextStockDiaryDetails(ICommand command); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/CardMedia/ICardMedia.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.CardMedia 8 | { 9 | public interface ICardMedia 10 | { 11 | void SetOrganizationDataContext(IEnumerable data); 12 | void SetCardMeidaDataContext(object data); 13 | void SetSelectedItemCursor(); 14 | 15 | void SetMoveToFirstBtnDataContext(object command); 16 | void SetMoveToPreviousBtnDataContext(object command); 17 | void SetMoveToNextBtnDataContext(object command); 18 | void SetMoveToLastBtnDataContext(object command); 19 | 20 | void SetDeleteBtnDataContext(object command); 21 | void SetAddBtnDataContext(object command); 22 | void SetRevertBtnDataContext(object command); 23 | void SetSaveBtnDataContext(object command); 24 | 25 | void SetFocusToFirstElement(); 26 | void SetColumnsEnabled(bool flag); 27 | 28 | string SelectedOrganizationNo(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Department/IDepartmentView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Department 8 | { 9 | public interface IDepartmentView 10 | { 11 | void SetDeptDataContext(object data); 12 | void SetOrganizationDataContext(IEnumerable data); 13 | void SetSelectedItemCursor(); 14 | 15 | void SetMoveToFirstBtnDataContext(object command); 16 | void SetMoveToPreviousBtnDataContext(object command); 17 | void SetMoveToNextBtnDataContext(object command); 18 | void SetMoveToLastBtnDataContext(object command); 19 | 20 | void SetDeleteBtnDataContext(object command); 21 | void SetAddBtnDataContext(object command); 22 | void SetRevertBtnDataContext(object command); 23 | void SetSaveBtnDataContext(object command); 24 | 25 | string SelectedOrganizationNo(); 26 | 27 | void SetFocusToFirstInputField(); 28 | void SetColumnsEnabled(bool flag); 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/ItemGroup/IItemGroupView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.ItemGroup 8 | { 9 | public interface IItemGroupView 10 | { 11 | 12 | void SetItemGroupDataContext(object data); 13 | void SetOrganizationDataContext(IEnumerable data); 14 | void SetSelectedItemCursor(); 15 | 16 | void SetFocusToFirstInputField(); 17 | 18 | void SetMoveToFirstBtnDataContext(object command); 19 | void SetMoveToPreviousBtnDataContext(object command); 20 | void SetMoveToNextBtnDataContext(object command); 21 | void SetMoveToLastBtnDataContext(object command); 22 | 23 | void SetDeleteBtnDataContext(object command); 24 | void SetAddBtnDataContext(object command); 25 | void SetRevertBtnDataContext(object command); 26 | void SetSaveBtnDataContext(object command); 27 | 28 | string SelectedOrganizationNo(); 29 | void SetColumnsEnabled(bool flag); 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/TaxGroup/ITaxGroupView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.TaxGroup 8 | { 9 | public interface ITaxGroupView 10 | { 11 | void SetTaxGroupDataContext(object data); 12 | void SetSelectedItemCursor(); 13 | 14 | void SetMoveToFirstBtnDataContext(object command); 15 | void SetMoveToPreviousBtnDataContext(object command); 16 | void SetMoveToNextBtnDataContext(object command); 17 | void SetMoveToLastBtnDataContext(object command); 18 | void SetOrganizationDataContext(IEnumerable data); 19 | 20 | void SetDeleteBtnDataContext(object command); 21 | void SetAddBtnDataContext(object command); 22 | void SetRevertBtnDataContext(object command); 23 | void SetSaveBtnDataContext(object command); 24 | 25 | string SelectedOrganizationNo(); 26 | 27 | void SetFocusToFirstElement(); 28 | void SetColumnsEnabled(bool flag); 29 | 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/BarcodeLib/Symbologies/JAN13.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.BarcodeLib.Symbologies 6 | { 7 | class JAN13 : BarcodeCommon, IBarcode 8 | { 9 | public JAN13(string input) 10 | { 11 | Raw_Data = input; 12 | } 13 | /// 14 | /// Encode the raw data using the JAN-13 algorithm. 15 | /// 16 | private string Encode_JAN13() 17 | { 18 | if (!Raw_Data.StartsWith("49")) Error("EJAN13-1: Invalid Country Code for JAN13 (49 required)"); 19 | if (!BarcodeLib.Barcode.CheckNumericOnly(Raw_Data)) 20 | Error("EJAN13-2: Numeric Data Only"); 21 | 22 | EAN13 ean13 = new EAN13(Raw_Data); 23 | return ean13.Encoded_Value; 24 | }//Encode_JAN13 25 | 26 | #region IBarcode Members 27 | 28 | public string Encoded_Value 29 | { 30 | get { return Encode_JAN13(); } 31 | } 32 | 33 | #endregion 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Tax/ITaxView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Tax 8 | { 9 | public interface ITaxView 10 | { 11 | void SetTaxDataContext(object data); 12 | void SetSelectedItemCursor(); 13 | 14 | void SetMoveToFirstBtnDataContext(object command); 15 | void SetMoveToPreviousBtnDataContext(object command); 16 | void SetMoveToNextBtnDataContext(object command); 17 | void SetMoveToLastBtnDataContext(object command); 18 | 19 | void SetDeleteBtnDataContext(object command); 20 | void SetAddBtnDataContext(object command); 21 | void SetRevertBtnDataContext(object command); 22 | void SetSaveBtnDataContext(object command); 23 | 24 | void SetOrganizationDataContext(IEnumerable data); 25 | void SetTaxGroupDataContext(IEnumerable data); 26 | string SelectedOrganizationNo(); 27 | void SetFocusToFirstElement(); 28 | void SetColumnsEnabled(bool flag); 29 | 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Services/User.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.Infrastructure.Services 7 | { 8 | public class User 9 | { 10 | private string userName; 11 | private string password; 12 | 13 | public string UserName 14 | { 15 | get { return userName; } 16 | set { userName = value; } 17 | } 18 | 19 | public string Password 20 | { 21 | get { return password; } 22 | set { password = value; } 23 | } 24 | 25 | // private Guid id; 26 | 27 | // public Guid Id 28 | // { 29 | // get { return id; } 30 | // set { id = value; } 31 | // } 32 | 33 | 34 | 35 | // public User(string userName, Guid id) 36 | // { 37 | // UserName = userName; 38 | // Id = id; 39 | // 40 | // } 41 | 42 | public User() 43 | { 44 | UserName = null; 45 | 46 | } 47 | 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Store/IStoreView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Store 8 | { 9 | public interface IStoreView 10 | { 11 | void SetStoreDataContext(object data); 12 | void SetSelectedItemCursor(); 13 | 14 | void SetMoveToFirstBtnDataContext(object command); 15 | void SetMoveToPreviousBtnDataContext(object command); 16 | void SetMoveToNextBtnDataContext(object command); 17 | void SetMoveToLastBtnDataContext(object command); 18 | 19 | void SetDeleteBtnDataContext(object command); 20 | void SetAddBtnDataContext(object command); 21 | void SetRevertBtnDataContext(object command); 22 | void SetSaveBtnDataContext(object command); 23 | 24 | void SetOrganizationDataContext(IEnumerable data); 25 | void SetCustomerDataContext(IEnumerable data); 26 | 27 | string SelectedOrganizationNo(); 28 | 29 | void SetFocusToFirstElement(); 30 | void SetColumnsEnabled(bool flag); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Station/IStationView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Station 8 | { 9 | public interface IStationView 10 | { 11 | void SetStationDataContext(object data); 12 | void SetSelectedItemCursor(); 13 | 14 | void SetMoveToFirstBtnDataContext(object command); 15 | void SetMoveToPreviousBtnDataContext(object command); 16 | void SetMoveToNextBtnDataContext(object command); 17 | void SetMoveToLastBtnDataContext(object command); 18 | 19 | void SetDeleteBtnDataContext(object command); 20 | void SetAddBtnDataContext(object command); 21 | void SetRevertBtnDataContext(object command); 22 | void SetSaveBtnDataContext(object command); 23 | 24 | void SetOrganizationDataContext(IEnumerable data); 25 | void SetStoreNoDataContext(IEnumerable data); 26 | 27 | string SelectedOrganizationNo(); 28 | 29 | void SetFocusToFirstElement(); 30 | void SetColumnsEnabled(bool flag); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/posConfigDataSet.cs: -------------------------------------------------------------------------------- 1 | namespace EclipsePOS.WPF.SystemManager.Data 2 | { 3 | 4 | 5 | public partial class posConfigDataSet 6 | { 7 | 8 | public partial class pos_configDataTable 9 | { 10 | 11 | public override void EndInit() 12 | { 13 | base.EndInit(); 14 | this.TableNewRow += new System.Data.DataTableNewRowEventHandler(pos_configDataTable_TableNewRow); 15 | this.ColumnChanged += new System.Data.DataColumnChangeEventHandler(pos_configDataTable_ColumnChanged); 16 | 17 | } 18 | 19 | void pos_configDataTable_ColumnChanged(object sender, System.Data.DataColumnChangeEventArgs e) 20 | { 21 | CheckValues(e.Row as pos_configRow); 22 | } 23 | 24 | void pos_configDataTable_TableNewRow(object sender, System.Data.DataTableNewRowEventArgs e) 25 | { 26 | CheckValues(e.Row as pos_configRow); 27 | } 28 | 29 | 30 | public void CheckValues(pos_configRow row) 31 | { 32 | 33 | if (row.IsNull("name") || row.name.Trim().Length == 0) 34 | { 35 | row.SetColumnError("name", "Enter name"); 36 | } 37 | else 38 | { 39 | row.SetColumnError("name", ""); 40 | } 41 | 42 | } 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/CurrencyRate/ICurrencyView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.CurrencyRate 8 | { 9 | public interface ICurrencyView 10 | { 11 | void SetCurrencyDataContext(object data); 12 | void SetSourceCurrencyCodeDataContext(IEnumerable data); 13 | void SetHomeCurrencyCodeDataContext(IEnumerable data); 14 | 15 | void SetSelectedItemCursor(); 16 | 17 | void SetMoveToFirstBtnDataContext(object command); 18 | void SetMoveToPreviousBtnDataContext(object command); 19 | void SetMoveToNextBtnDataContext(object command); 20 | void SetMoveToLastBtnDataContext(object command); 21 | 22 | void SetDeleteBtnDataContext(object command); 23 | void SetAddBtnDataContext(object command); 24 | void SetRevertBtnDataContext(object command); 25 | void SetSaveBtnDataContext(object command); 26 | 27 | void SetFocusToFirstElement(); 28 | 29 | void SetColumnsEnabled(bool flag); 30 | 31 | 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Test/FullLayout.xaml: -------------------------------------------------------------------------------- 1 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 1 19 | 2 20 | 21 | 22 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Employee/IEmployeeView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Employee 8 | { 9 | public interface IEmployeeView 10 | { 11 | void SetEmployeeDataContext(object data); 12 | void SetEmployeeRoleDataContext(IEnumerable data); 13 | void SetOrganizationDataContext(IEnumerable data); 14 | 15 | void SetSelectedItemCursor(); 16 | 17 | void SetMoveToFirstBtnDataContext(object command); 18 | void SetMoveToPreviousBtnDataContext(object command); 19 | void SetMoveToNextBtnDataContext(object command); 20 | void SetMoveToLastBtnDataContext(object command); 21 | 22 | void SetDeleteBtnDataContext(object command); 23 | void SetAddBtnDataContext(object command); 24 | void SetRevertBtnDataContext(object command); 25 | void SetSaveBtnDataContext(object command); 26 | 27 | 28 | void SetFocusToFirstElement(); 29 | 30 | string SelectedOrganizationNo(); 31 | 32 | void SetColumnsEnabled(bool flag); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Surcharge/ISerchargeView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Surcharge 8 | { 9 | public interface ISerchargeView 10 | { 11 | void SetSurchargeDataContext(object data); 12 | void SetSelectedItemCursor(); 13 | 14 | void SetMoveToFirstBtnDataContext(object command); 15 | void SetMoveToPreviousBtnDataContext(object command); 16 | void SetMoveToNextBtnDataContext(object command); 17 | void SetMoveToLastBtnDataContext(object command); 18 | 19 | void SetDeleteBtnDataContext(object command); 20 | void SetAddBtnDataContext(object command); 21 | void SetRevertBtnDataContext(object command); 22 | void SetSaveBtnDataContext(object command); 23 | 24 | void SetOrganizationDataContext(IEnumerable data); 25 | void SetTaxGroupDataContext(IEnumerable data); 26 | 27 | string SelectedOrganizationNo(); 28 | 29 | void SetFocusToFirstElement(); 30 | void SetColumnsEnabled(bool flag); 31 | 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace EclipsePOS.WPF.SystemManager.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Customer/ICustomerView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Customer 8 | { 9 | public interface ICustomerView 10 | { 11 | 12 | void SetCustomerDataContext(object data); 13 | 14 | void SetOrganizationDataContext(IEnumerable data); 15 | // void SetCustomerDataContext(IEnumerable data); 16 | 17 | void SetSelectedItemCursor(); 18 | 19 | void SetMoveToFirstBtnDataContext(object command); 20 | void SetMoveToPreviousBtnDataContext(object command); 21 | void SetMoveToNextBtnDataContext(object command); 22 | void SetMoveToLastBtnDataContext(object command); 23 | 24 | void SetDeleteBtnDataContext(object command); 25 | void SetAddBtnDataContext(object command); 26 | void SetRevertBtnDataContext(object command); 27 | void SetSaveBtnDataContext(object command); 28 | 29 | string SelectedOrganizationNo(); 30 | 31 | void SetFocusToFirstElement(); 32 | void SetColumnsEnabled(bool flag); 33 | 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Promotion/IPromotionView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Promotion 8 | { 9 | public interface IPromotionView 10 | { 11 | void SetPromotionDataContext(object data); 12 | void SetSelectedItemCursor(); 13 | 14 | void SetMoveToFirstBtnDataContext(object command); 15 | void SetMoveToPreviousBtnDataContext(object command); 16 | void SetMoveToNextBtnDataContext(object command); 17 | void SetMoveToLastBtnDataContext(object command); 18 | 19 | void SetDeleteBtnDataContext(object command); 20 | void SetAddBtnDataContext(object command); 21 | void SetRevertBtnDataContext(object command); 22 | void SetSaveBtnDataContext(object command); 23 | void SetPromoMappsBtnDataContext(object command); 24 | 25 | // void SetPosConfigDataContext(IEnumerable data); 26 | void SetOrganizationDataContext(IEnumerable data); 27 | 28 | string SelectedOrganizationNo(); 29 | void SetColumnsEnabled(bool flag); 30 | 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Plu/PluView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Plu 16 | { 17 | /// 18 | /// Interaction logic for PluView.xaml 19 | /// 20 | public partial class PluView : UserControl, IPluView 21 | { 22 | public PluView() 23 | { 24 | InitializeComponent(); 25 | } 26 | 27 | #region Events 28 | 29 | public void OnItemListView_SelectionChanged(object sender, RoutedEventArgs e) 30 | { 31 | 32 | // object selectedItem = ((ListView)e.Source).SelectedItem; 33 | 34 | // _presenter.OnShowItemDetails(selectedItem); 35 | 36 | // object selectedPlu = ((ListView)e.Source).SelectedItems; 37 | 38 | } 39 | 40 | 41 | #endregion 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/tableDetailsDataSet.cs: -------------------------------------------------------------------------------- 1 | namespace EclipsePOS.WPF.SystemManager.Data 2 | { 3 | 4 | 5 | public partial class tableDetailsDataSet 6 | { 7 | partial class table_detailsDataTable 8 | { 9 | public override void EndInit() 10 | { 11 | base.EndInit(); 12 | this.ColumnChanged += new System.Data.DataColumnChangeEventHandler(table_detailsDataTable_ColumnChanged); 13 | TableNewRow += new System.Data.DataTableNewRowEventHandler(table_detailsDataTable_TableNewRow); 14 | } 15 | 16 | void table_detailsDataTable_TableNewRow(object sender, System.Data.DataTableNewRowEventArgs e) 17 | { 18 | this.CheckValues(e.Row as table_detailsRow); 19 | } 20 | 21 | void table_detailsDataTable_ColumnChanged(object sender, System.Data.DataColumnChangeEventArgs e) 22 | { 23 | this.CheckValues(e.Row as table_detailsRow); 24 | } 25 | 26 | public void CheckValues(table_detailsRow row) 27 | { 28 | 29 | 30 | //Table name 31 | if (row.IsNull("table_name") || row.table_name.Trim().Length == 0) 32 | { 33 | row.SetColumnError("table_name", "Enter table name"); 34 | } 35 | else 36 | { 37 | row.SetColumnError("table_name", ""); 38 | } 39 | 40 | } 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/ReportingServices/GroupDefinition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices 7 | { 8 | public class GroupDefinition 9 | { 10 | string headerTemplate; 11 | 12 | public string HeaderTemplate 13 | { 14 | get { return headerTemplate; } 15 | set { headerTemplate = value; } 16 | } 17 | 18 | 19 | string footerTemplate; 20 | 21 | public string FooterTemplate 22 | { 23 | get { return footerTemplate; } 24 | set { footerTemplate = value; } 25 | } 26 | 27 | bool newPageOnGroupBreak; 28 | 29 | public bool NewPageOnGroupBreak 30 | { 31 | get { return newPageOnGroupBreak; } 32 | set { newPageOnGroupBreak = value; } 33 | } 34 | 35 | bool resetPageNumberOnGroupBreak; 36 | 37 | public bool ResetPageNumberOnGroupBreak 38 | { 39 | get { return resetPageNumberOnGroupBreak; } 40 | set { resetPageNumberOnGroupBreak = value; } 41 | } 42 | 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/test/ServiceLocatorFixture.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CommonServiceLocator; 3 | using Microsoft.VisualStudio.TestTools.UnitTesting; 4 | using ServiceLocation.Tests.Mocks; 5 | 6 | namespace ServiceLocation.Tests 7 | { 8 | [TestClass] 9 | public class ServiceLocatorFixture 10 | { 11 | [TestInitialize] 12 | public void TestInit() 13 | { 14 | ServiceLocator.SetLocatorProvider(null); 15 | } 16 | 17 | [TestMethod] 18 | public void ServiceLocatorIsLocationProviderSetReturnsTrueWhenSet() 19 | { 20 | ServiceLocator.SetLocatorProvider(() => new MockServiceLocator(null)); 21 | 22 | Assert.IsTrue(ServiceLocator.IsLocationProviderSet); 23 | } 24 | 25 | [TestMethod] 26 | public void ServiceLocatorIsLocationProviderSetReturnsFalseWhenNotSet() 27 | { 28 | Assert.IsFalse(ServiceLocator.IsLocationProviderSet); 29 | } 30 | 31 | [TestMethod] 32 | [ExpectedException(typeof(InvalidOperationException))] 33 | public void ServiceLocatorCurrentThrowsWhenLocationProviderNotSet() 34 | { 35 | var currentServiceLocator = ServiceLocator.Current; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/EclipsePOS.WPF.SystemManager.Data.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27428.2027 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EclipsePOS.WPF.SystemManager.Data", "EclipsePOS.WPF.SystemManager.Data.csproj", "{63E2602D-EA97-4AC7-944E-846F4205CBA7}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {63E2602D-EA97-4AC7-944E-846F4205CBA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {63E2602D-EA97-4AC7-944E-846F4205CBA7}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {63E2602D-EA97-4AC7-944E-846F4205CBA7}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {63E2602D-EA97-4AC7-944E-846F4205CBA7}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {C112FB82-7BB0-4875-8EDE-91AE66C56CCA} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/ReportingServices/DecimalAggregateField.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Data; 6 | using System.Windows.Markup; 7 | 8 | [assembly: XmlnsDefinition("http://www.eclipse_software.com.sg/WPF", "EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices")] 9 | 10 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices 11 | { 12 | public class DecimalAggregateField : AggregateField 13 | { 14 | decimal value; 15 | public DecimalAggregateField(int ordinal) : base(ordinal) { } 16 | public override void UpdateValue(IDataReader reader) 17 | { 18 | try 19 | { 20 | decimal d = reader.GetDecimal(ordinal); 21 | switch (Aggregate) 22 | { 23 | case AggegateType.Sum: value += d; break; 24 | default: throw new NotImplementedException(); 25 | } 26 | } 27 | catch (Exception e) 28 | { 29 | } 30 | } 31 | 32 | public override object Value 33 | { 34 | get { return value; } 35 | } 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/EclipsePOS.WPF.SystemManager.PosSetup.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27428.2027 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EclipsePOS.WPF.SystemManager.PosSetup", "EclipsePOS.WPF.SystemManager.PosSetup.csproj", "{5BB2C883-415F-4A84-A281-6828BB9EC6C6}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {5BB2C883-415F-4A84-A281-6828BB9EC6C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {5BB2C883-415F-4A84-A281-6828BB9EC6C6}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {5BB2C883-415F-4A84-A281-6828BB9EC6C6}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {5BB2C883-415F-4A84-A281-6828BB9EC6C6}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {3C719A4F-A4E0-4C89-AB6A-D6F74C84BA6F} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/ReportingServices/DoubleAggregateField.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Data; 6 | using System.Windows.Markup; 7 | 8 | [assembly: XmlnsDefinition("http://www.eclipse_software.com.sg/WPF", "EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices")] 9 | 10 | 11 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.ReportingServices 12 | { 13 | public class DoubleAggregateField : AggregateField 14 | { 15 | 16 | double value; 17 | public DoubleAggregateField(int ordinal) : base(ordinal) { } 18 | 19 | public override void UpdateValue(IDataReader reader) 20 | { 21 | try 22 | { 23 | double d = reader.GetDouble(ordinal); 24 | switch (Aggregate) 25 | { 26 | case AggegateType.Sum: value += d; break; 27 | default: throw new NotImplementedException(); 28 | } 29 | } 30 | catch 31 | { 32 | } 33 | 34 | 35 | } 36 | 37 | public override object Value 38 | { 39 | get { return value; } 40 | } 41 | 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /CAL/Desktop/Composite.Tests/Mocks/Modules/MockModuleReferencedAssembly.cs: -------------------------------------------------------------------------------- 1 | //=================================================================================== 2 | // Microsoft patterns & practices 3 | // Composite Application Guidance for Windows Presentation Foundation and Silverlight 4 | //=================================================================================== 5 | // Copyright (c) Microsoft Corporation. All rights reserved. 6 | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 7 | // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT 8 | // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | // FITNESS FOR A PARTICULAR PURPOSE. 10 | //=================================================================================== 11 | // The example companies, organizations, products, domain names, 12 | // e-mail addresses, logos, people, places, and events depicted 13 | // herein are fictitious. No association with any real company, 14 | // organization, product, domain name, email address, logo, person, 15 | // places, or events is intended or should be inferred. 16 | //=================================================================================== 17 | namespace Microsoft.Practices.Composite.Tests.Mocks.Modules 18 | { 19 | public class MockReferencedModule 20 | { 21 | } 22 | } -------------------------------------------------------------------------------- /CAL/Desktop/Composite.Tests/Modularity/ModuleCatalogXaml/SimpleModuleCatalog.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ModuleW 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Stock/IStockDiaryView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Stock 8 | { 9 | public interface IStockDiaryView 10 | { 11 | 12 | void SetItemsDataContext(object data); 13 | void SetOrganizationDataContext(IEnumerable data); 14 | 15 | 16 | void SetSelectedItemCursor(); 17 | 18 | void SetMoveToFirstBtnDataContext(object data); 19 | void SetMoveToPreviousBtnDataContext(object data); 20 | void SetMoveToNextBtnDataContext(object data); 21 | void SetMoveToLastBtnDataContext(object data); 22 | 23 | void SetDeleteBtnDataContext(object command); 24 | void SetAddBtnDataContext(object command); 25 | void SetRevertBtnDataContext(object command); 26 | void SetSaveBtnDataContext(object command); 27 | 28 | string SelectedOrganizationNo(); 29 | void SetFocusToFirstInputField(); 30 | 31 | DateTime GetSelectedDate(); 32 | string GetSKU(); 33 | string GetReference(); 34 | double GetQuantity(); 35 | int GetTransactionType(); 36 | 37 | void InitInput(); 38 | 39 | 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/PosConfigInput/InputConfigNoPresenter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using EclipsePOS.WPF.SystemManager.Data; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.PosConfigInput 8 | { 9 | public class InputConfigNoPresenter 10 | { 11 | private IInputConfigNoView _view; 12 | private EclipsePOS.WPF.SystemManager.Data.posConfigDataSet posConfigData; 13 | 14 | public IInputConfigNoView View 15 | { 16 | get 17 | { 18 | return _view; 19 | } 20 | set 21 | { 22 | _view = value; 23 | } 24 | } 25 | 26 | public void OnShowInputConfigNo() 27 | { 28 | //PosConfig 29 | posConfigData = new EclipsePOS.WPF.SystemManager.Data.posConfigDataSet(); 30 | EclipsePOS.WPF.SystemManager.Data.posConfigDataSetTableAdapters.pos_configTableAdapter posConfigTa = new EclipsePOS.WPF.SystemManager.Data.posConfigDataSetTableAdapters.pos_configTableAdapter(); 31 | posConfigTa.Fill(posConfigData.pos_config); 32 | View.SetPosConfigDataContext(posConfigData.pos_config); 33 | 34 | } 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/Stock_1/IStockDiaryView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.Stock 8 | { 9 | public interface IStockDiaryView 10 | { 11 | 12 | void SetItemsDataContext(object data); 13 | void SetOrganizationDataContext(IEnumerable data); 14 | 15 | 16 | void SetSelectedItemCursor(); 17 | 18 | void SetMoveToFirstBtnDataContext(object data); 19 | void SetMoveToPreviousBtnDataContext(object data); 20 | void SetMoveToNextBtnDataContext(object data); 21 | void SetMoveToLastBtnDataContext(object data); 22 | 23 | void SetDeleteBtnDataContext(object command); 24 | void SetAddBtnDataContext(object command); 25 | void SetRevertBtnDataContext(object command); 26 | void SetSaveBtnDataContext(object command); 27 | 28 | string SelectedOrganizationNo(); 29 | void SetFocusToFirstInputField(); 30 | 31 | DateTime GetSelectedDate(); 32 | string GetSKU(); 33 | string GetReference(); 34 | double GetQuantity(); 35 | int GetTransactionType(); 36 | 37 | void InitInput(); 38 | 39 | 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/EclipsePOS.WPF.SystemManager.Infrastructure.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27428.2027 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EclipsePOS.WPF.SystemManager.Infrastructure", "EclipsePOS.WPF.SystemManager.Infrastructure.csproj", "{D2DC408C-C478-4B5A-BD7E-F755AE77384D}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {D2DC408C-C478-4B5A-BD7E-F755AE77384D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {D2DC408C-C478-4B5A-BD7E-F755AE77384D}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {D2DC408C-C478-4B5A-BD7E-F755AE77384D}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {D2DC408C-C478-4B5A-BD7E-F755AE77384D}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {9E15E2EF-F60F-48AB-BD27-3A50EB99462F} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /CAL/Desktop/Composite/Modularity/ModuleInfo.Desktop.cs: -------------------------------------------------------------------------------- 1 | //=================================================================================== 2 | // Microsoft patterns & practices 3 | // Composite Application Guidance for Windows Presentation Foundation and Silverlight 4 | //=================================================================================== 5 | // Copyright (c) Microsoft Corporation. All rights reserved. 6 | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 7 | // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT 8 | // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | // FITNESS FOR A PARTICULAR PURPOSE. 10 | //=================================================================================== 11 | // The example companies, organizations, products, domain names, 12 | // e-mail addresses, logos, people, places, and events depicted 13 | // herein are fictitious. No association with any real company, 14 | // organization, product, domain name, email address, logo, person, 15 | // places, or events is intended or should be inferred. 16 | //=================================================================================== 17 | using System; 18 | 19 | namespace Microsoft.Practices.Composite.Modularity 20 | { 21 | [Serializable] 22 | public partial class ModuleInfo 23 | { 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Util/MD5ToTextConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Data; 6 | using System.Security.Cryptography; 7 | using System.Globalization; 8 | 9 | 10 | 11 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Util 12 | { 13 | [ValueConversion(typeof(string), typeof(bool))] 14 | public class MD5ToTextConverter : IValueConverter 15 | { 16 | public static MD5ToTextConverter Instance = new MD5ToTextConverter(); 17 | 18 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 19 | { 20 | 21 | return value; 22 | } 23 | 24 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 25 | { 26 | //throw new NotSupportedException("Not implimented yet"); 27 | 28 | byte[] input = ASCIIEncoding.ASCII.GetBytes(value.ToString()); 29 | byte[] output = MD5.Create().ComputeHash(input); 30 | StringBuilder sb = new StringBuilder(); 31 | for (int i = 0; i < output.Length; i++) 32 | { 33 | sb.Append(output[i].ToString("X2")); 34 | } 35 | 36 | return sb.ToString(); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/TaxDetail/ITaxDetailsView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | using System.Windows.Documents; 7 | 8 | 9 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.TaxDetail 10 | { 11 | public interface ITaxDetailsView 12 | { 13 | void SetOrganizationFromDataContext(IEnumerable data); 14 | void SetOrganizationToDataContext(IEnumerable data); 15 | 16 | void SetRetailStoreFromDataContext(IEnumerable data); 17 | void SetRetailStoreToDataContext(IEnumerable data); 18 | 19 | void SetRunBtnDataContext(object command); 20 | 21 | void StartSyncAnimation(); 22 | void EndSyncAnimation(); 23 | 24 | string StoreNoFrom 25 | { 26 | get; 27 | } 28 | 29 | string StoreNoTo 30 | { 31 | get; 32 | } 33 | 34 | string OrganizationNoFrom 35 | { 36 | get; 37 | } 38 | 39 | string OrganizationNoTo 40 | { 41 | get; 42 | } 43 | 44 | DateTime SalesDateFrom 45 | { 46 | get; 47 | } 48 | DateTime SalesDateTo 49 | { 50 | get; 51 | } 52 | 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/src/ActivationException.Desktop.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace CommonServiceLocator 5 | { 6 | [Serializable] 7 | public partial class ActivationException 8 | { 9 | /// 10 | /// Initializes a new instance of the class with serialized data. 11 | /// 12 | /// 13 | /// The that holds the serialized object data about the exception being thrown. 14 | /// 15 | /// 16 | /// The that contains contextual information about the source or destination. 17 | /// 18 | /// 19 | /// The parameter is null. 20 | /// 21 | /// 22 | /// The class name is null or is zero (0). 23 | /// 24 | protected ActivationException(SerializationInfo info, StreamingContext context) 25 | : base(info, context) {} 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Views/ItemList/IItemListView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | 8 | namespace EclipsePOS.WPF.SystemManager.Inventory.Views.ItemList 9 | { 10 | public interface IItemListView 11 | { 12 | 13 | void SetItemsDataContext(object data); 14 | void SetOrganizationDataContext(IEnumerable data); 15 | 16 | 17 | void SetSelectedItemCursor(); 18 | 19 | void SetMoveToFirstBtnDataContext(object data); 20 | void SetMoveToPreviousBtnDataContext(object data); 21 | void SetMoveToNextBtnDataContext(object data); 22 | void SetMoveToLastBtnDataContext(object data); 23 | 24 | void SetDeleteBtnDataContext(object command); 25 | void SetAddBtnDataContext(object command); 26 | void SetRevertBtnDataContext(object command); 27 | void SetSaveBtnDataContext(object command); 28 | 29 | void SetDepartmentDataContext(IEnumerable data); 30 | void SetItemGroupDataContext(IEnumerable data); 31 | void SetTaxGroupDataContext(IEnumerable data); 32 | 33 | string SelectedOrganizationNo(); 34 | 35 | 36 | void SetFocusToFirstInputField(); 37 | void SetColumnsEnabled(bool flag); 38 | 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/Organization/IOrganizationView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Data.Linq; 6 | using System.Data; 7 | using EclipsePOS.WPF.SystemManager.Data; 8 | using System.Collections; 9 | using System.Windows; 10 | 11 | 12 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.Organization 13 | { 14 | public interface IOrganizationView 15 | { 16 | void SetOrganizationDataContext(object data); 17 | void SetCurrencyDataContext(IEnumerable data); 18 | void SetSelectedItemCursor(); 19 | 20 | void SetMoveToFirstBtnDataContext(object command); 21 | void SetMoveToPreviousBtnDataContext(object command); 22 | void SetMoveToNextBtnDataContext(object command); 23 | void SetMoveToLastBtnDataContext(object command); 24 | 25 | void SetDeleteBtnDataContext(object command); 26 | void SetAddBtnDataContext(object command); 27 | void SetRevertBtnDataContext(object command); 28 | void SetSaveBtnDataContext(object command); 29 | 30 | // void NotifySchemaChanges(); 31 | // void StartSyncAnimation(); 32 | // void EndSyncAnimation(); 33 | void SetFocusToFirstElement(); 34 | void SetColumnsEnabled(bool flag); 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /CAL/Desktop/Composite.UnityExtensions.Tests/Mocks/MockService.cs: -------------------------------------------------------------------------------- 1 | //=================================================================================== 2 | // Microsoft patterns & practices 3 | // Composite Application Guidance for Windows Presentation Foundation and Silverlight 4 | //=================================================================================== 5 | // Copyright (c) Microsoft Corporation. All rights reserved. 6 | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 7 | // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT 8 | // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | // FITNESS FOR A PARTICULAR PURPOSE. 10 | //=================================================================================== 11 | // The example companies, organizations, products, domain names, 12 | // e-mail addresses, logos, people, places, and events depicted 13 | // herein are fictitious. No association with any real company, 14 | // organization, product, domain name, email address, logo, person, 15 | // places, or events is intended or should be inferred. 16 | //=================================================================================== 17 | 18 | namespace Microsoft.Practices.Composite.UnityExtensions.Tests.Mocks 19 | { 20 | public class MockService : IService 21 | { 22 | } 23 | 24 | public interface IService { } 25 | } -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/PaymentSummary/IPaymentSummaryView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | using System.Windows.Documents; 7 | 8 | 9 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.PaymentSummary 10 | { 11 | public interface IPaymentSummaryView 12 | { 13 | void SetOrganizationFromDataContext(IEnumerable data); 14 | void SetOrganizationToDataContext(IEnumerable data); 15 | 16 | void SetRetailStoreFromDataContext(IEnumerable data); 17 | void SetRetailStoreToDataContext(IEnumerable data); 18 | 19 | void SetRunBtnDataContext(object command); 20 | 21 | void StartSyncAnimation(); 22 | void EndSyncAnimation(); 23 | 24 | 25 | string StoreNoFrom 26 | { 27 | get; 28 | } 29 | 30 | string StoreNoTo 31 | { 32 | get; 33 | } 34 | 35 | string OrganizationNoFrom 36 | { 37 | get; 38 | } 39 | 40 | string OrganizationNoTo 41 | { 42 | get; 43 | } 44 | 45 | DateTime SalesDateFrom 46 | { 47 | get; 48 | } 49 | DateTime SalesDateTo 50 | { 51 | get; 52 | } 53 | 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Data/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/PaymentDetailsByDate/IPaymentDetailsByDateView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | using System.Windows.Documents; 7 | 8 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.PaymentDetailsByDate 9 | { 10 | public interface IPaymentDetailsByDateView 11 | { 12 | void SetOrganizationFromDataContext(IEnumerable data); 13 | void SetOrganizationToDataContext(IEnumerable data); 14 | 15 | void SetRetailStoreFromDataContext(IEnumerable data); 16 | void SetRetailStoreToDataContext(IEnumerable data); 17 | 18 | void SetRunBtnDataContext(object command); 19 | 20 | void StartSyncAnimation(); 21 | void EndSyncAnimation(); 22 | 23 | 24 | string StoreNoFrom 25 | { 26 | get; 27 | } 28 | 29 | string StoreNoTo 30 | { 31 | get; 32 | } 33 | 34 | string OrganizationNoFrom 35 | { 36 | get; 37 | } 38 | 39 | string OrganizationNoTo 40 | { 41 | get; 42 | } 43 | 44 | DateTime SalesDateFrom 45 | { 46 | get; 47 | } 48 | DateTime SalesDateTo 49 | { 50 | get; 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.PosSetup/Views/MenuRoot/IMenuRoot.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace EclipsePOS.WPF.SystemManager.PosSetup.Views.MenuRoot 8 | { 9 | public interface IMenuRoot 10 | { 11 | void SetMenuRootDataContext(object data); 12 | void SetPosKeyDataContext(IEnumerable data); 13 | 14 | //void SetMenuPanelsDataContext(IEnumerable data); 15 | void SetPosConfigDataContext(IEnumerable data); 16 | 17 | void SetSelectedItemCursor(); 18 | 19 | void SetMoveToFirstBtnDataContext(object command); 20 | void SetMoveToPreviousBtnDataContext(object command); 21 | void SetMoveToNextBtnDataContext(object command); 22 | void SetMoveToLastBtnDataContext(object command); 23 | 24 | void SetDeleteBtnDataContext(object command); 25 | void SetAddBtnDataContext(object command); 26 | void SetRevertBtnDataContext(object command); 27 | void SetSaveBtnDataContext(object command); 28 | 29 | void SetAddPosKeyBtnDataContext(object command); 30 | void SetChangePosKeyBtnDataContext(object command); 31 | void SetDeletePosKeyBtnDataContext(object command); 32 | 33 | int SelectedConfigNo(); 34 | 35 | void SetFocusToFirstElement(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/test/ServiceLocatorAdapterFixture.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. 2 | 3 | using System; 4 | using CommonServiceLocator; 5 | using ServiceLocation.Tests.Components; 6 | using ServiceLocation.Tests.Mocks; 7 | using Microsoft.VisualStudio.TestTools.UnitTesting; 8 | 9 | namespace ServiceLocation.Tests 10 | { 11 | 12 | [TestClass] 13 | public class ServiceLocatorAdapterFixture 14 | { 15 | protected IServiceLocator locator; 16 | 17 | [TestInitialize] 18 | public void InitAdapterFixture() 19 | { 20 | locator = new MockServiceLocator(new object[] { new SimpleLogger(), 21 | new AdvancedLogger(), 22 | new NullReferenceException() }); 23 | } 24 | 25 | [TestMethod] 26 | public void GetInstance() 27 | { 28 | ILogger instance = locator.GetInstance(); 29 | Assert.IsNotNull(instance); 30 | } 31 | 32 | 33 | [TestMethod] 34 | public void GetNamedInstance() 35 | { 36 | ILogger instance = locator.GetInstance(typeof(AdvancedLogger).FullName); 37 | Assert.IsInstanceOfType(instance, typeof(AdvancedLogger)); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CAL/Desktop/Composite.Tests/Mocks/Modules/MockModuleLinqToSql.cs: -------------------------------------------------------------------------------- 1 | //=================================================================================== 2 | // Microsoft patterns & practices 3 | // Composite Application Guidance for Windows Presentation Foundation and Silverlight 4 | //=================================================================================== 5 | // Copyright (c) Microsoft Corporation. All rights reserved. 6 | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 7 | // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT 8 | // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | // FITNESS FOR A PARTICULAR PURPOSE. 10 | //=================================================================================== 11 | // The example companies, organizations, products, domain names, 12 | // e-mail addresses, logos, people, places, and events depicted 13 | // herein are fictitious. No association with any real company, 14 | // organization, product, domain name, email address, logo, person, 15 | // places, or events is intended or should be inferred. 16 | //=================================================================================== 17 | using System; 18 | using System.Collections.Generic; 19 | using System.Linq; 20 | using System.Text; 21 | 22 | namespace Microsoft.Practices.Composite.Tests.Mocks.Modules 23 | { 24 | class MockModuleLinqToSql 25 | { 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Infrastructure/Views/ModuleNavigator/ModuleNavigatorView.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/SalesDetailByDate/ISalesDetailByDate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Xps.Packaging; 6 | using System.Collections; 7 | using System.Windows.Documents; 8 | 9 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.SalesDetailByDate 10 | { 11 | public interface ISalesDetailByDate 12 | { 13 | void SetOrganizationFromDataContext(IEnumerable data); 14 | void SetOrganizationToDataContext(IEnumerable data); 15 | 16 | void SetRetailStoreFromDataContext(IEnumerable data); 17 | void SetRetailStoreToDataContext(IEnumerable data); 18 | 19 | void SetRunBtnDataContext(object command); 20 | 21 | void StartSyncAnimation(); 22 | void EndSyncAnimation(); 23 | 24 | string StoreNoFrom 25 | { 26 | get; 27 | } 28 | 29 | string StoreNoTo 30 | { 31 | get; 32 | } 33 | 34 | string OrganizationNoFrom 35 | { 36 | get; 37 | } 38 | 39 | string OrganizationNoTo 40 | { 41 | get; 42 | } 43 | 44 | DateTime SalesDateFrom 45 | { 46 | get; 47 | } 48 | DateTime SalesDateTo 49 | { 50 | get; 51 | } 52 | 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /CAL/commonservicelocator-master/src/ServiceLocator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CommonServiceLocator 4 | { 5 | /// 6 | /// This class provides the ambient container for this application. If your 7 | /// framework defines such an ambient container, use ServiceLocator.Current 8 | /// to get it. 9 | /// 10 | public static class ServiceLocator 11 | { 12 | private static ServiceLocatorProvider _currentProvider; 13 | 14 | /// 15 | /// The current ambient container. 16 | /// 17 | public static IServiceLocator Current 18 | { 19 | get 20 | { 21 | if (!IsLocationProviderSet) throw new InvalidOperationException(Constants.ServiceLocationProviderNotSetMessage); 22 | 23 | return _currentProvider(); 24 | } 25 | } 26 | 27 | /// 28 | /// Set the delegate that is used to retrieve the current container. 29 | /// 30 | /// Delegate that, when called, will return 31 | /// the current ambient container. 32 | public static void SetLocatorProvider(ServiceLocatorProvider newProvider) 33 | { 34 | _currentProvider = newProvider; 35 | } 36 | 37 | public static bool IsLocationProviderSet => _currentProvider != null; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /CAL/Desktop/Composite.Presentation.Tests/Mocks/MockDependencyObject.cs: -------------------------------------------------------------------------------- 1 | //=================================================================================== 2 | // Microsoft patterns & practices 3 | // Composite Application Guidance for Windows Presentation Foundation and Silverlight 4 | //=================================================================================== 5 | // Copyright (c) Microsoft Corporation. All rights reserved. 6 | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 7 | // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT 8 | // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | // FITNESS FOR A PARTICULAR PURPOSE. 10 | //=================================================================================== 11 | // The example companies, organizations, products, domain names, 12 | // e-mail addresses, logos, people, places, and events depicted 13 | // herein are fictitious. No association with any real company, 14 | // organization, product, domain name, email address, logo, person, 15 | // places, or events is intended or should be inferred. 16 | //=================================================================================== 17 | using System.Windows; 18 | 19 | namespace Microsoft.Practices.Composite.Presentation.Tests.Mocks 20 | { 21 | class MockDependencyObject : DependencyObject 22 | { 23 | } 24 | 25 | class MockFrameworkElement : FrameworkElement 26 | { 27 | } 28 | } -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.Inventory/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 1 7 | 8 | 9 | 0 10 | 11 | 12 | 0 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 3 25 | 26 | 27 | -------------------------------------------------------------------------------- /EclipsePOS.WPF.SystemManager.ReportsAndEnquiries/Views/ItemLabels/IItemLabelsView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections; 6 | using System.Windows.Media; 7 | using System.Windows.Media.Imaging; 8 | using System.Windows.Controls; 9 | using EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.BarcodeLib; 10 | 11 | namespace EclipsePOS.WPF.SystemManager.ReportsAndEnquiries.Views.ItemLabels 12 | { 13 | public interface IItemLabelsView 14 | { 15 | void SetItemsDataContext(object data); 16 | void SetOrganizationDataContext(IEnumerable data); 17 | void SetFilterBtnDataContext(object command); 18 | void SetSelectBtnDataContext(object command); 19 | void SetSelectAllBtnDataContext(object command); 20 | void SetRunBtnDataContext(object command); 21 | void AddSelectedItemLabel(); 22 | void AddAllItemLabels(); 23 | int NumberOfBarcodesToPrint(); 24 | List LabelData(); 25 | int NumberAcross{get;} 26 | int NumberDown{get;} 27 | double TopMargin { get; } 28 | double SideMargin{get;} 29 | 30 | string GetFilterCriteria(); 31 | string GetFilterText(); 32 | 33 | void SetSelectedItemCursor(); 34 | 35 | void StartSyncAnimation(); 36 | void EndSyncAnimation(); 37 | 38 | void SaveSelections(); 39 | 40 | 41 | } 42 | } 43 | --------------------------------------------------------------------------------