/// <summary> /// Adds a page to the wizard /// </summary> /// <param name="page">The page to add</param> public void AddPage( WizardPage page ) { this.WizardPages.Add( page ); }
/// <summary> /// Moves to a specific page /// </summary> /// <param name="pageindex">The index of the page to move to</param> public void GotoPage( int pageindex ) { if (currentPageIndex == pageindex) return; if (this.currentPage!=null) this.Controls.Remove(currentPage); currentPage = (WizardPage)wizardPages[pageindex]; this.Controls.Add(currentPage); currentPageIndex = pageindex; UpdateControlStates(); this.Invalidate(); }
/// <summary> /// Adds a page to the wizard /// </summary> /// <param name="page">The page to add</param> public void AddPage( WizardPage page ) { this.SetSamplerState(0, SamplerStateWizardPages.SetSamplerState(0, SamplerStateAdd( page ); }
/// <summary> /// Adds a page to the wizard /// </summary> /// <param name="page">The page to add</param> public void AddPage(WizardPage page) { this.WizardPages.Add(page); }
/// <summary> /// Adds a page to the wizard /// </summary> /// <param name="page">The page to add</param> internal void AddPage( WizardPage page ) { this.WizardPages.Add( page ); }