コード例 #1
0
ファイル: ProgressPage.xaml.cs プロジェクト: vrosnet/Phoenix
        /// <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);
        }
コード例 #2
0
 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;
 }
コード例 #4
0
 /// <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
ファイル: TemplatePage.xaml.cs プロジェクト: vrosnet/Phoenix
 public TemplatePage(CMP.Setup.SetupFramework.Page page)
     : base(page, "Template Page Do Not Display", 0)
 {
     InitializeComponent();
 }