public abstract GetWizardPage ( ) : AbstractWizardPage | ||
Résultat | AbstractWizardPage |
private bool ValidateCurrentPage() { AbstractWizardPage page = pages.ElementAt(currentPage); try { AbstractConditionalWizardPage conditionalPage = (AbstractConditionalWizardPage)page; page = conditionalPage.GetWizardPage(); } catch (Exception ex) { } return(page.ValidateBeforeNext()); }
private void ShowPageAtIndex(int pageIndex) { AbstractWizardPage page = pages.ElementAt(pageIndex); try { AbstractConditionalWizardPage conditionalPage = (AbstractConditionalWizardPage)page; conditionalPage.DataStore = dataStore; page = conditionalPage.GetWizardPage(); } catch (Exception ex) { } page.DataStore = dataStore; page.Populate(); SetControlsForPage(page); ApplyControlOverrideRules(); activeForm.LabelPageTitle.Text = page.PageTitle; activeForm.PageContainer.Controls.Clear(); activeForm.PageContainer.Controls.Add(page); }