Exemplo n.º 1
0
		/// <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 );
		}
Exemplo n.º 2
0
		/// <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();
		}
Exemplo n.º 3
0
		/// <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 );
		}
Exemplo n.º 4
0
 /// <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);
 }
Exemplo n.º 5
0
 /// <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 );
 }