Пример #1
0
        /// <summary>
        /// Initializes a new instance of the ProgressPage class.
        /// </summary>
        /// <param name="page">Page</param>
        public ProgressPage(CMP.Setup.SetupFramework.Page page)
            : base(page, WpfResources.WPFResourceDictionary.InstallingStepTitle, 4)
        {
            this.InitializeComponent();

            this.backgroundWorkerProcessInstalls = new BackgroundWorker();

            // Worker Thread Do Work Delegate
            this.backgroundWorkerProcessInstalls.DoWork += new DoWorkEventHandler(
                this.OnProcessInstallDoWork);

            // Worked Thread Completed Delegate
            this.backgroundWorkerProcessInstalls.RunWorkerCompleted += new RunWorkerCompletedEventHandler(
                this.OnProcessInstallRunWorkerCompleted);

            // Progress Change Delegate
            this.backgroundWorkerProcessInstalls.ProgressChanged += new ProgressChangedEventHandler(
                this.OnProcessInstallProgressChanged);
        }
 public AddRemoveComponentsPage(CMP.Setup.SetupFramework.Page page)
     : base(page, WpfResources.WPFResourceDictionary.GettingStartedStepTitle, 1)
 {
     InitializeComponent();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WpfBasePage"/> class.
 /// </summary>
 /// <param name="page">The page.</param>
 /// <param name="title">The page title.</param>
 /// <param name="progressPhase">The progress phase.</param>
 public BasePageForWpfControls(CMP.Setup.SetupFramework.Page page, string title, double progressPhase)
 {
     this.page          = page;
     this.pageTitle     = title;
     this.progressPhase = progressPhase;
 }
 /// <summary>
 /// Initializes a new instance of the SelectWapDatabaseServerPage class.
 /// </summary>
 /// <param name="page">Page</param>
 public SelectWapDatabaseServerPage(CMP.Setup.SetupFramework.Page page)
     : base(page, WpfResources.WPFResourceDictionary.ConfigurationStepTitle, 3)
 {
     this.InitializeComponent();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FinishPage"/> class.
 /// </summary>
 /// <param name="page">The page.</param>
 public FinishPage(CMP.Setup.SetupFramework.Page page)
     : base(page, WpfResources.WPFResourceDictionary.CompleteStepTitle, 5)
 {
     InitializeComponent();
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReadyToInstallPage"/> class.
 /// </summary>
 /// <param name="page">The page.</param>
 public ReadyToInstallPage(CMP.Setup.SetupFramework.Page page)
     : base(page, WpfResources.WPFResourceDictionary.ConfigurationStepTitle, 3)
 {
     InitializeComponent();
 }
Пример #7
0
 public TemplatePage(CMP.Setup.SetupFramework.Page page)
     : base(page, "Template Page Do Not Display", 0)
 {
     InitializeComponent();
 }