Changeset 17064
- Timestamp:
- 07/04/19 14:49:00 (5 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 16511-16512
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.JobManager
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Clients.Hive.JobManager merged: 16512
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelectorDialog.cs
r17062 r17064 96 96 if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshing, sender, e); 97 97 else { 98 Progress.ShowOnControl(this, "Refreshing", ProgressMode.Indeterminate);99 98 refreshButton.Enabled = false; 99 okButton.Enabled = false; 100 cancelButton.Enabled = false; 101 // Progress cannot be shown on dialog (no parent control), thus it is shown on the selector 102 Progress.Show(hiveResourceSelector, "Refreshing", ProgressMode.Indeterminate); 100 103 } 101 104 } … … 104 107 if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshed, sender, e); 105 108 else { 106 Progress.HideFromControl(this); 109 Progress.Hide(hiveResourceSelector); 110 okButton.Enabled = true; 111 cancelButton.Enabled = true; 107 112 refreshButton.Enabled = true; 108 113 } -
stable/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.cs
r17062 r17064 38 38 : base() { 39 39 if (control == null) throw new ArgumentNullException("control"); 40 if (control.Parent == null) throw new InvalidOperationException("A Progress can only be shown on controls that have a Parent-control. Therefore, Dialogs and Forms cannot have an associated ProgressView."); 40 41 if (content == null) throw new ArgumentNullException("content"); 41 42 InitializeComponent();
Note: See TracChangeset
for help on using the changeset viewer.