protected override void RegisterTypes() { Container.Resolve <IDialogService>().Register <PriceCalculationItemsViewModel, PriceCalculationItemsWindow>(); Container.RegisterViewForNavigation <PriceCalculationView>(); Container.RegisterViewForNavigation <PriceCalculationsView>(); Container.RegisterViewForNavigation <ReferenceView>(); Container.RegisterViewForNavigation <SalesChartView>(); Container.RegisterViewForNavigation <ProductTypeDesignationView>(); Container.RegisterViewForNavigation <PaymentsActualView>(); Container.RegisterViewForNavigation <PickingDatesView>(); Container.RegisterViewForNavigation <SupplyPlanView>(); Container.RegisterViewForNavigation <PaymentsPlanView>(); Container.RegisterViewForNavigation <IncomingRequestsView>(); Container.RegisterViewForNavigation <MarketReportView>(); Container.RegisterViewForNavigation <FlatReportView>(); Container.RegisterViewForNavigation <ManagersSalesChartView>(); Container.RegisterViewForNavigation <ProductTypesSalesChartView>(); Container.RegisterViewForNavigation <RegionsSalesChartView>(); Container.RegisterViewForNavigation <ConsumersSalesChartView>(); Container.RegisterViewForNavigation <ContragentsSalesChartView>(); Container.RegisterViewForNavigation <ProducersSalesChartView>(); Container.RegisterViewForNavigation <MarketCapacityChartView>(); Container.RegisterViewForNavigation <DirectumTaskView>(); Container.RegisterViewForNavigation <DirectumTasksOutgoingView>(); Container.RegisterViewForNavigation <DirectumTasksIncomingView>(); Container.RegisterViewForNavigation <DirectumTasksIncomingToAcceptView>(); Container.RegisterViewForNavigation <DirectumTasksIncomingToPerformView>(); Container.RegisterViewForNavigation <ProductReplacementView>(); Container.RegisterViewForNavigation <SupervisionView>(); Container.RegisterViewForNavigation <Modules.Sales.Supervision.SupervisionView>(); Container.RegisterViewForNavigation <BudgetComparisionView>(); Container.RegisterViewForNavigation <CommonInfoView>(); Container.RegisterViewForNavigation <TechnicalRequrementsTaskView>(); Container.RegisterViewForNavigation <TechnicalRequrementsTasksView>(); Container.RegisterViewForNavigation <LaborHoursView>(); Container.RegisterViewForNavigation <PaymentConditionSetLookupListView1>(); Container.Resolve <IDialogService>().Register <DirectumTaskRouteViewModel, DirectumTaskRouteWindow>(); Container.Resolve <IDialogService>().Register <PaymentConditionViewModel, PaymentConditionView>(); _dialogService.RegisterShow <ProductStructureViewModel, ProductStructureView>(); _dialogService.RegisterShow <BudgetComparisionViewModel, BudgetComparisionView>(); _dialogService.RegisterShow <SalesReportViewModel, SalesReportView>(); _dialogService.RegisterShow <PaymentsPlanViewModel, PaymentsPlanView>(); RegisterViews(); _updateDetailsService.ReRegister <Facility, FacilityView>(); _updateDetailsService.ReRegister <LaborHours, LaborHoursDetailsView2>(); _updateDetailsService.ReRegister <PaymentConditionSet, PaymentConditionsSetView>(); _selectService.ReRegister <PaymentConditionSetLookupListView1, PaymentConditionSet>(); }