/// <summary>
        /// Updates the progress bar and status of the installation in the app's UI.
        /// </summary>
        /// <param name="installProgress"></param>
        private void installProgress(DeploymentProgress installProgress)
        {
            double installPercentage = installProgress.percentage;

            permissionTextBlock.Text = "Installing...";
            installProgressBar.Value = installPercentage;
            string percentageAsString = String.Format($"{installPercentage}%");

            installValueTextBlock.Text = percentageAsString;
        }
Exemplo n.º 2
0
 private static void installProgress(DeploymentProgress installProgress)
 {
     installPercentage = installProgress.percentage;
     boom.Progress     = (uint)installPercentage;
     notification.UpdateProgress(installPercentage);
 }
Exemplo n.º 3
0
 public void deploymentProgressUpdate(DeploymentOperation depOperation, DeploymentProgress progressInfo)
 {
     _depOperation = depOperation;
     _mainWindow.deploymentProgressUpdate(this, progressInfo);
 }
Exemplo n.º 4
0
 public ProgressUpdateEventArgs(DeploymentProgress progress)
 {
     Progress = progress;
 }
Exemplo n.º 5
0
 //--------------------------------------------------------Constructor:----------------------------------------------------------------\\
 #region --Constructors--
 public ProgressChangedEventArgs(DeploymentProgress progress)
 {
     PROGRESS = progress;
 }
Exemplo n.º 6
0
        private void installProgress(DeploymentProgress installProgress)
        {
            double installPercentage = installProgress.percentage;

            notification.UpdateProgress(installPercentage);
        }