- Timestamp:
- 07/04/19 14:45:47 (5 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.JobManager
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Clients.Hive.JobManager merged: 16356,16389,16430
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/RunInHiveMenuItem.cs
r17059 r17062 99 99 rJob.Job.ResourceIds = hiveResourceSelectorDialog.SelectedResources.Select(x => x.Id).ToList(); 100 100 101 progress = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().AddOperationProgressToContent(this.content, "Uploading to Hive...");101 progress = Progress.Show(this.content, "Uploading to Hive...", ProgressMode.Indeterminate); 102 102 rJob.Progress = progress; 103 103 progress.ProgressStateChanged += progress_ProgressStateChanged; … … 110 110 private void progress_ProgressStateChanged(object sender, EventArgs e) { 111 111 if (progress.ProgressState != ProgressState.Started) { 112 MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromContent(content);112 Progress.Hide(content); 113 113 progress.ProgressStateChanged -= progress_ProgressStateChanged; 114 114 } … … 116 116 117 117 private void HandleEx(Exception ex) { 118 MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromContent(content);118 Progress.Hide(content); 119 119 progress.ProgressStateChanged -= progress_ProgressStateChanged; 120 120 ErrorHandling.ShowErrorDialog("Error uploading tasks", ex);
Note: See TracChangeset
for help on using the changeset viewer.