コード例 #1
0
ファイル: Wizard.cs プロジェクト: jpespartero/WorldWind
		/// <summary>
		/// Initializes a new instance of the <see cref= "T:ConfigurationWizard.WizardPage"/> class.
		/// Initializes settings, message and pages.
		/// </summary>
		/// <param name="settings">The WorldWindSettings to use</param>
		public Wizard( WorldWindSettings settings )
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			Wizard.Settings = settings;
			wizardPages = new ArrayList();

			this.Text = "World Wind welcome screen";
			this.AbortMessage = "Are you sure you want to cancel the wizard?";
			AddPage( new WelcomePage() );
			AddPage( new CachePage() );
			AddPage( new ProxyPage() );
			AddPage( new AtmospherePage() );
			AddPage( new FinalPage() );
		}
コード例 #2
0
ファイル: Wizard.cs プロジェクト: paladin74/Dapple
        /// <summary>
        /// Initializes a new instance of the <see cref= "T:ConfigurationWizard.WizardPage"/> class.
        /// Initializes settings, message and pages.
        /// </summary>
        /// <param name="settings">The WorldWindSettingsComponent to use</param>
        internal Wizard(WorldWindSettings settings)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            Wizard.Settings = settings;
            wizardPages = new ArrayList();

            this.Text = "Dapple Advanced Settings";
            this.AbortMessage = "Are you sure you want to cancel the wizard?";
            AddPage( new WelcomePage() );
            AddPage( new CachePage() );
            AddPage( new ProxyPage() );
             AddPage( new DappleSearchPage() );
            AddPage( new FinalPage() );
        }