public void Initialize() { GeneralProperties.Analysis = Analysis; GeneralProperties.Initialize(); HourlyTotalsDetail.Analysis = Analysis; HourlyTotalsDetail.Initialize(); DailyTotalsDetail.Analysis = Analysis; DailyTotalsDetail.Initialize(); LogMeter log = Analysis.Log as LogMeter; if (log != null) { LogPropertiesDetail.Log = log; LogPropertiesDetail.Initialize(); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.GeneralProperties = ((TraceWizard.TwApp.ReportGeneralProperties)(target)); return; case 2: this.HourlyTotalsDetail = ((TraceWizard.TwApp.HourlyTotalsDetail)(target)); return; case 3: this.LogPropertiesDetail = ((TraceWizard.TwApp.LogPropertiesDetail)(target)); return; case 4: this.DailyTotalsDetail = ((TraceWizard.TwApp.DailyTotalsDetail)(target)); return; } this._contentLoaded = true; }