public HtmlWizardPageModel(Uri pageUrl, string title = "", string description = "", WizardPageType pageType = WizardPageType.Expanded)
 {
     PageUrl = pageUrl;
     this.Title = title;
     this.Description = description;
     this.PageType = pageType;
 }
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Constructor that allows the programmer to specify the page type. In
 /// the case of the sample app, we use this constructor for this oject,
 /// and specify it as the start page.
 /// </summary>
 /// <param name="parent">The parent WizardFormBase-derived form</param>
 /// <param name="pageType">The type of page this object represents (start, intermediate, or stop)</param>
 public WizardPage41(WizardFormBase parent, WizardPageType pageType, CmWinServiceAPI db)
     : base(parent, pageType)
 {
     this.db = db;
     InitPage();
     twitterService = new TwitterService(_consumerKey, _consumerSecret);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WpfWizardPageModel"/> class. 
 /// </summary>
 /// <param name="title"> The title.  </param>
 /// <param name="description"> The description.  </param>
 /// <param name="pageType"> The wizard page Type. </param>
 protected WpfWizardPageModel(string title, string description, WizardPageType pageType = WizardPageType.Standard)
     : this()
 {
     this.Title = title;
     this.Description = description;
     this.PageType = pageType;
 }
示例#4
0
 /// <Summary>Constructor Builds a custom WizardPageInfo object.</Summary>
 /// <Param name="title">The title of the Page</Param>
 /// <Param name="icon">The icon for the Page</Param>
 /// <Param name="ctl">The control associated with the Page</Param>
 /// <Param name="type">The type of the Page</Param>
 /// <Param name="help">The Help text for the  Page</Param>
 public WizardPage(string title, string icon, System.Web.UI.Control ctl, WizardPageType type, string help)
 {
     this._Control  = ctl;
     this._Help     = help;
     this._Icon     = icon;
     this._PageType = type;
     this._Title    = title;
 }
示例#5
0
 /// <Summary>Constructor Builds a custom WizardPageInfo object.</Summary>
 /// <Param name="title">The title of the Page</Param>
 /// <Param name="icon">The icon for the Page</Param>
 /// <Param name="ctl">The control associated with the Page</Param>
 /// <Param name="type">The type of the Page</Param>
 /// <Param name="help">The Help text for the  Page</Param>
 public WizardPage( string title, string icon, System.Web.UI.Control ctl, WizardPageType type, string help )
 {
     this._Control = ctl;
     this._Help = help;
     this._Icon = icon;
     this._PageType = type;
     this._Title = title;
 }
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Constructor that allows the programmer to specify the page type. In
 /// the case of the sample app, we use this constructor for this oject,
 /// and specify it as the start page.
 /// </summary>
 /// <param name="parent">The parent WizardFormBase-derived form</param>
 /// <param name="pageType">The type of page this object represents (start, intermediate, or stop)</param>
 public WizardPage40(WizardFormBase parent, WizardPageType pageType, CmWinServiceAPI db)
     : base(parent, pageType)
 {
     this.db = db;
     InitPage();
     _fb       = new FacebookClient();
     _loginUrl = GenerateLoginUrl(AppId, ExtendedPermissions);
 }
示例#7
0
        private void cac39076a0a300436ec8a3a1fe9b2fcda()
        {
            this.cd3827007acc399b34f956117869414d0 = 150;
            this.c2c722cb7e32a87966531a1e4c598d61d = 60;
            this.cd0f713933438f34835b01297433a8a7f = AutoBoolean.Auto;
            this.ce4d2f1b450cdabfd1f0f4f28ea6b3800 = AutoBoolean.False;
            string text1 = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x273b);

            this.c924a7adae948f7734a40ae82ec69a136 = text1;
            string text2 = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x2754);

            this.c2bbc876fadd7032d696b137bfa5c2a9c = text2;
            this.cc3d6949ec78400327ca47995273eba25 = string.Empty;
            this.c9363b2573ec6976255b107de9714a88d = this.c4ccb15ae364b5bb64fd18a538f12488d = this.cbd69662b502356b5738f77fa62d8caa9 = this.c98d2bb12edb2dcd34d12b0d266c30ae4 = this.ce61c1bfa143f12ef54e4723680141300 = AutoBoolean.Auto;
            this.ce01eec33f178a777b002386272adadf9 = this.ccc0f6bd83b90e0c6dad93b05402e740e = this.c0f183e8414cb94885adce81249b7b97b = this.c82fb15376ca8f128e6c409e924aa288f = this.c7c201e0755dc3bdf39293fd8f4ec10a9 = AutoBoolean.Auto;
            this.c00649d7e6c9adb59ef7fd8dacf8c34ae = WizardPageType.Inner;
        }
示例#8
0
        /// <Summary>AddPage adds a Wizard Page to the Control</Summary>
        /// <Param name="title">The Page's Title</Param>
        /// <Param name="icon">The Page's Icon</Param>
        /// <Param name="ctl">The Page's Control</Param>
        /// <Param name="type">The type of the Wizard Page</Param>
        /// <Param name="help">The Page's Help Text</Param>
        public void AddPage(string title, string icon, Control ctl, WizardPageType type, string help)
        {
            switch (type)
            {
            case WizardPageType.Content:

                this.Pages.Add(title, icon, ctl, help);
                break;

            case WizardPageType.Failure:

                m_FailurePage = new WizardPage(title, icon, ctl, type, help);
                break;

            case WizardPageType.Success:

                m_SuccessPage = new WizardPage(title, icon, ctl, type, help);
                break;
            }
        }
示例#9
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);
        }
示例#10
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);
		}
示例#11
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Constructor that allows the programmer to specify the page type. In
 /// the case of the sample app, we use this constructor for this oject,
 /// and specify it as the start page.
 /// </summary>
 /// <param name="parent">The parent WizardFormBase-derived form</param>
 /// <param name="pageType">The type of page this object represents (start, intermediate, or stop)</param>
 public WizardPage5(WizardFormBase parent, WizardPageType pageType, CmWinServiceAPI db)
     : base(parent, pageType)
 {
     this.db = db;
     InitPage();
 }
示例#12
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Creates a wizard page of the specified type. You can optionally call the
 /// other constructor if you're adding anintermediate 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);
 }
示例#13
0
 public spage10(WizardFormBase parent, WizardPageType pageType)
             : base(parent, pageType)
 {
     InitPage();
 }
示例#14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WizardPage" /> class.
 /// </summary>
 /// <param name="title"> The title of the current wizard page. </param>
 /// <param name="description"> The description of the current wizard page. </param>
 /// <param name="wizard">
 /// The <see cref="Wizard" /> instance which contains the current wizard page.
 /// </param>
 /// <param name="model"> The data model of the current wizard page. </param>
 /// <param name="type"> The type of the current wizard page. </param>
 protected WizardPage(string title, string description, Wizard wizard, IWizardModel model, WizardPageType type)
     : base(title, description, wizard, model, type)
 {
 }
示例#15
0
 /// <Summary>Constructor Builds a custom WizardPageInfo object.</Summary>
 /// <Param name="title">The title of the Page</Param>
 /// <Param name="icon">The icon for the Page</Param>
 /// <Param name="ctl">The control associated with the Page</Param>
 /// <Param name="type">The type of the Page</Param>
 public WizardPage(string title, string icon, System.Web.UI.Control ctl, WizardPageType type) : this(title, icon, ctl, type, "")
 {
 }
示例#16
0
 public WizardPageCamera(WizardFormBase parent, WizardPageType pageType)
     : base(parent, pageType)
 {
     InitPage();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WizardPageBase" /> class.
 /// </summary>
 /// <param name="title"> The title of the current wizard page. </param>
 /// <param name="description"> The description of the current wizard page. </param>
 /// <param name="wizard">
 /// The <see cref="Wizard" /> instance which contains the current wizard page.
 /// </param>
 /// <param name="model"> The data model of the current wizard page. </param>
 /// <param name="type"> The type of the current wizard page. </param>
 protected WizardPageBase(string title, string description, Wizard wizard, IWizardModel model, WizardPageType type)
     : this()
 {
     this.title       = title;
     this.description = description;
     this.wizard      = wizard;
     this.model       = model;
     this.Type        = type;
 }
示例#18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WizardPage" /> class. 
 /// </summary>
 /// <param name="title"> The title of the current wizard page. </param>
 /// <param name="description"> The description of the current wizard page. </param>
 /// <param name="wizard">
 /// The <see cref="Wizard" /> instance which contains the current wizard page.
 /// </param>
 /// <param name="type"> The type of the wizard page. </param>
 protected WizardPage(string title, string description, Wizard wizard, WizardPageType type)
     : this(title, description, wizard, null, type)
 {
 }
示例#19
0
 public WizardPagePayment(WizardFormBase parent, WizardPageType pageType)
     : base(parent, pageType)
 {
     InitPage();
 }
示例#20
0
 /// <Summary>Constructor Builds a custom WizardPageInfo object.</Summary>
 /// <Param name="title">The title of the Page</Param>
 /// <Param name="icon">The icon for the Page</Param>
 /// <Param name="ctl">The control associated with the Page</Param>
 /// <Param name="type">The type of the Page</Param>
 public WizardPage( string title, string icon, System.Web.UI.Control ctl, WizardPageType type ) : this( title, icon, ctl, type, "" )
 {
 }
示例#21
0
 public WizardPageUSBBrowser(WizardFormBase parent, WizardPageType pageType)
     : base(parent, pageType)
 {
     InitPage();
 }
示例#22
0
		public WizardPage(WizardFormBase parent, WizardPageType pageType)
		{
			Init(parent, pageType);
		}
示例#23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WizardPage" /> class.
 /// </summary>
 /// <param name="title"> The title of the current wizard page. </param>
 /// <param name="description"> The description of the current wizard page. </param>
 /// <param name="wizard">
 /// The <see cref="Wizard" /> instance which contains the current wizard page.
 /// </param>
 /// <param name="type"> The type of the wizard page. </param>
 protected WizardPage(string title, string description, Wizard wizard, WizardPageType type)
     : this(title, description, wizard, null, type)
 {
 }
示例#24
0
 public WizardPageEditor(WizardFormBase parent, WizardPageType pageType)
     : base(parent, pageType)
 {
     InitPage();
 }
示例#25
0
 public finalPage(WizardFormBase parent, WizardPageType pageType)
             : base(parent, pageType)
 {
     InitPage();
 }
示例#26
0
 public WizardPagePrintSummary(WizardFormBase parent, WizardPageType pageType)
     : base(parent, pageType)
 {
     InitPage();
 }
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Constructor that allows the programmer to specify the page type. In
 /// the case of the sample app, we use this constructor for this object,
 /// and specify it as the start page.
 /// </summary>
 /// <param name="parent">The parent WizardFormBase-derived form</param>
 /// <param name="pageType">The type of page this object represents (start, intermediate, or stop)</param>
 public WizardPageSourceSelector(WizardFormBase parent, WizardPageType pageType)
     : base(parent, pageType)
 {
     InitPage();
 }
示例#28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WizardPage" /> class. 
 /// </summary>
 /// <param name="title"> The title of the current wizard page. </param>
 /// <param name="description"> The description of the current wizard page. </param>
 /// <param name="wizard">
 /// The <see cref="Wizard" /> instance which contains the current wizard page.
 /// </param>
 /// <param name="model"> The data model of the current wizard page. </param>
 /// <param name="type"> The type of the current wizard page. </param>
 protected WizardPage(string title, string description, Wizard wizard, IWizardModel model, WizardPageType type)
     : base(title, description, wizard, model, type)
 {
 }
示例#29
0
        /// <Summary>AddPage adds a Wizard Page to the Control</Summary>
        /// <Param name="title">The Page's Title</Param>
        /// <Param name="icon">The Page's Icon</Param>
        /// <Param name="ctl">The Page's Control</Param>
        /// <Param name="type">The type of the Wizard Page</Param>
        /// <Param name="help">The Page's Help Text</Param>
        public void AddPage( string title, string icon, Control ctl, WizardPageType type, string help )
        {
            switch (type)
            {
                case WizardPageType.Content:

                    this.Pages.Add(title, icon, ctl, help);
                    break;
                case WizardPageType.Failure:

                    m_FailurePage = new WizardPage(title, icon, ctl, type, help);
                    break;
                case WizardPageType.Success:

                    m_SuccessPage = new WizardPage(title, icon, ctl, type, help);
                    break;
            }
        }