Beispiel #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 );
		}
Beispiel #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();
		}
Beispiel #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 );
		}
Beispiel #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);
 }
Beispiel #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 );
 }