Changeset 17062 for stable/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelectorDialog.cs
- 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/Views/HiveResourceSelectorDialog.cs
r17059 r17062 96 96 if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshing, sender, e); 97 97 else { 98 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 99 mainForm.AddOperationProgressToView(this, "Refreshing ..."); 98 Progress.ShowOnControl(this, "Refreshing", ProgressMode.Indeterminate); 100 99 refreshButton.Enabled = false; 101 100 } … … 105 104 if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshed, sender, e); 106 105 else { 107 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 108 mainForm.RemoveOperationProgressFromView(this); 106 Progress.HideFromControl(this); 109 107 refreshButton.Enabled = true; 110 108 } … … 140 138 okButton.Enabled = hiveResourceSelector.AssignedResources.Any(); 141 139 142 if (!hiveResourceSelector.AssignedResources.Any()) {140 if (!hiveResourceSelector.AssignedResources.Any()) { 143 141 errorProvider.SetError(okButton, "Note: currently no resources are assigned"); 144 } else if (hiveResourceSelector.AssignedCores == 0) {142 } else if (hiveResourceSelector.AssignedCores == 0) { 145 143 errorProvider.SetError(okButton, "Note: currently no resources with cores are assigned"); 146 144 } else {
Note: See TracChangeset
for help on using the changeset viewer.