protected override void OnActivated() { base.OnActivated(); reportServiceController = Frame.GetController <WinReportServiceController>(); reportServiceController.NewXafReportWizardShowing += reportServiceController_NewXafReportWizardShowing; }
protected override void OnDeactivated() { reportServiceController.NewXafReportWizardShowing -= reportServiceController_NewXafReportWizardShowing; reportServiceController = null; base.OnDeactivated(); }
protected override void OnFrameAssigned() { base.OnFrameAssigned(); reportService = Frame.GetController <WinReportServiceController>(); if (reportService != null) { reportService.CustomShowPreview += reportService_CustomShowPreview; } }
protected override void OnActivated() { base.OnActivated(); reportService = Frame.GetController <WinReportServiceController>(); printingService = Frame.GetController <PrintingController>(); if (reportService != null) { reportService.CustomShowPreview += reportService_CustomShowPreview; } if (printingService != null) { printingService.PrintingSettingsLoaded += printingService_PrintingSettingsLoaded; } }
protected override void OnActivated() { base.OnActivated(); winReportsServiceController = Frame.GetController <WinReportServiceController>(); winReportsServiceController.DesignFormCreated += winReportsServiceController_DesignFormCreated; }
protected override void OnDeactivated() { reportServiceController.NewXafReportWizardShowing -= reportServiceController_NewXafReportWizardShowing; reportServiceController = null; base.OnDeactivated(); }
protected override void OnActivated() { base.OnActivated(); reportServiceController = Frame.GetController<WinReportServiceController>(); reportServiceController.NewXafReportWizardShowing += reportServiceController_NewXafReportWizardShowing; }