Example #1
0
        //--------------------------------------------------------------------------------
        /// <summary>
        /// This is a common initialization function called by all of the constructors.
        /// </summary>
        /// <param name="parent"></param>
        /// <param name="pageType"></param>
        private void Init(WizardFormBase parent, WizardPageType pageType)
        {
            InitializeComponent();

            //this.BorderStyle = BorderStyle.FixedSingle;

            m_parentWizardForm = parent;
            this.Visible       = false;
            this.Dock          = DockStyle.Fill;
            m_pageType         = pageType;

            // if this is the start page, disable the Back and Start buttons
            if (WizardPageType == WizardPageType.Start)
            {
                // added the following line to support the "<< Start" button - jms 2/19/2009
                ButtonStateStart &= ~WizardButtonState.Enabled;

                ButtonStateBack &= ~WizardButtonState.Enabled;
            }

            m_parentWizardForm.PageCreated(this);
            m_parentWizardForm.WizardPageChangeEvent += new WizardPageChangeHandler(parentForm_WizardPageChange);
        }
Example #2
0
		public WizardPage(WizardFormBase parent, WizardPageType pageType)
		{
			Init(parent, pageType);
		}
Example #3
0
		public WizardPage(WizardFormBase parent)
		{
			Init(parent, WizardPageType.Intermediate);
		}
Example #4
0
		private void Init(WizardFormBase parent, WizardPageType pageType)
		{
			InitializeComponent();
			m_parentWizardForm	= parent;
			this.Visible		= false;
			this.Dock			= DockStyle.Fill;
			m_pageType			= pageType;

			if (WizardPageType == WizardPageType.Start)
			{
				ButtonStateStart &= ~WizardButtonState.Enabled;

				ButtonStateBack &= ~WizardButtonState.Enabled;
			}

			m_parentWizardForm.PageCreated(this);
			m_parentWizardForm.WizardPageChangeEvent += new WizardPageChangeHandler(parentForm_WizardPageChange);
		}
Example #5
0
 public spage10(WizardFormBase parent, WizardPageType pageType)
             : base(parent, pageType)
 {
     InitPage();
 }
Example #6
0
 public spage10(WizardFormBase parent)
             : base(parent)
 {
     InitPage();
 }
Example #7
0
 public page5(WizardFormBase parent)
             : base(parent)
 {
     InitPage();
 }
		public WizardPageChain(WizardFormBase parent)
		{
			m_parent = parent;
			this.m_pageChain.Clear();
		}
Example #9
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="parent">The WizardFormBase that conatins this chain</param>
 public WizardPageChain(WizardFormBase parent)
 {
     m_parent = parent;
     this.m_pageChain.Clear();
 }
Example #10
0
 public finalPage(WizardFormBase parent, WizardPageType pageType)
             : base(parent, pageType)
 {
     InitPage();
 }
Example #11
0
 public finalPage(WizardFormBase parent)
             : base(parent)
 {
     InitPage();
 }
Example #12
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Creates a wizard page of the specified type. You can optionally call the
 /// other constructor if you're adding an intermediate page.
 /// </summary>
 /// <param name="parent">The parent wizard form</param>
 /// <param name="pageType">The type of page being created (see WizardPageType enum)</param>
 public WizardPage(WizardFormBase parent, WizardPageType pageType)
 {
     Init(parent, pageType);
 }
Example #13
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Default constructor - creates an Intermediate wizard page. To create a
 /// start or stop page, use the overloaded constructor
 /// </summary>
 public WizardPage(WizardFormBase parent)
 {
     Init(parent, WizardPageType.Intermediate);
 }