DeploymentTracker.App.Windows.PackageDeployment.BackgroundWorker_RunWorkerCompleted C# (CSharp) Method

BackgroundWorker_RunWorkerCompleted() private method

Handles the RunWorkerCompleted event of the backgroundWorker control.
private BackgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object The source of the event.
e RunWorkerCompletedEventArgs The instance containing the event data.
return void
        private void BackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            if (File.Exists(this.cloudDeploymentLogPath))
            {
                this.btnViewDeployLog.Enabled = true;
            }

            // this is to reload the azure settings on screen
            this.ExtractLoadPubSettingsFile();
            this.SetUserActionOnFrom(true);

            // bring to front once completed
            this.BringToFront();
        }