protected override void OnDeactivated() { reportServiceController.NewReportWizardShowing -= reportServiceController_NewReportWizardShowing; reportServiceController = null; base.OnDeactivated(); }
protected override void OnActivated() { base.OnActivated(); reportServiceController = Frame.GetController <WebReportServiceController>(); reportServiceController.NewReportWizardShowing += reportServiceController_NewReportWizardShowing; }