Esempio n. 1
0
 protected override void OnActivated()
 {
     base.OnActivated();
     reportServiceController = Frame.GetController <WinReportServiceController>();
     reportServiceController.NewXafReportWizardShowing +=
         reportServiceController_NewXafReportWizardShowing;
 }
Esempio n. 2
0
 protected override void OnDeactivated()
 {
     reportServiceController.NewXafReportWizardShowing -=
         reportServiceController_NewXafReportWizardShowing;
     reportServiceController = null;
     base.OnDeactivated();
 }
Esempio n. 3
0
        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;
     }
 }
Esempio n. 5
0
 protected override void OnActivated()
 {
     base.OnActivated();
     winReportsServiceController = Frame.GetController <WinReportServiceController>();
     winReportsServiceController.DesignFormCreated += winReportsServiceController_DesignFormCreated;
 }
Esempio n. 6
0
 protected override void OnDeactivated()
 {
     reportServiceController.NewXafReportWizardShowing -= reportServiceController_NewXafReportWizardShowing;
     reportServiceController = null;
     base.OnDeactivated();
 }
Esempio n. 7
0
 protected override void OnActivated()
 {
     base.OnActivated();
     reportServiceController = Frame.GetController<WinReportServiceController>();
     reportServiceController.NewXafReportWizardShowing += reportServiceController_NewXafReportWizardShowing;
 }