public ProblemReportWizard() : base("Problem Report Wizard", new IPageModel[] { new UserDetailsPage(), new ProblemDetailsPage(), new SummaryPage() }) { user = (UserDetailsPage)pages[0]; problem = (ProblemDetailsPage)pages[1]; summary = (SummaryPage)pages[2]; }
public CalculationWizard() : base("Calculation Request Wizard", new IPageModel[] { new UserDetailsPage(), new CalculationPage(), new ResultPage() }) { user = (UserDetailsPage)pages[0]; input = (CalculationPage)pages[1]; output = (ResultPage)pages[2]; }