protected override void ActivatePage(int pageNumber) { switch (pageNumber) { case PAGE_SELECT_RECEIVER: break; case PAGE_RECEIVER_PROPERTIES: break; case PAGE_SELECT_PARSER: break; case PAGE_PARSER_PROPERTIES: ILogEventParser parser = LogEventParserFactory.CreateLogParser( FindPage <SelectLogParserPropertyPage>().SelectedLogParser.Name); if (parser is IWizardConfigurable) { ReplacePage(3, ((IWizardConfigurable)parser).GetWizardPage()); } else { ReplacePage(3, new LogParserPropertyPage()); } IWizardPropertyPage <ILogEventParser> ppp = Pages[3] as IWizardPropertyPage <ILogEventParser>; if (ppp != null) { ppp.TargetObject = parser; } break; case PAGE_SELECT_ENCODING: break; case PAGE_SUMMARY: SummaryPropertyPage summaryPage = FindPage <SummaryPropertyPage>(); DisplaySummary(summaryPage); break; //base.ActivatePage(pageNumber); } }
private void DisplaySummary(SummaryPropertyPage summaryPage) { }