Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/20/18 16:01:34 (5 years ago)
Author:
pfleck
Message:

#2845 Adapted new Hive-Project-Management and RegressionSolutionVariableImpactsView to Progress updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelectorDialog.cs

    r16311 r16312  
    9696      if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshing, sender, e);
    9797      else {
    98         var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>();
    99         mainForm.AddOperationProgressToView(this, "Refreshing ...");
     98        Progress.ShowMarquee(this, "Refreshing");
    10099        refreshButton.Enabled = false;
    101100      }
     
    105104      if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshed, sender, e);
    106105      else {
    107         var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>();
    108         mainForm.RemoveOperationProgressFromView(this);
     106        Progress.Hide(this);
    109107        refreshButton.Enabled = true;
    110108      }
     
    140138      okButton.Enabled = hiveResourceSelector.AssignedResources.Any();
    141139
    142       if(!hiveResourceSelector.AssignedResources.Any()) {
     140      if (!hiveResourceSelector.AssignedResources.Any()) {
    143141        errorProvider.SetError(okButton, "Note: currently no resources are assigned");
    144       } else if(hiveResourceSelector.AssignedCores == 0) {
     142      } else if (hiveResourceSelector.AssignedCores == 0) {
    145143        errorProvider.SetError(okButton, "Note: currently no resources with cores are assigned");
    146144      } else {
Note: See TracChangeset for help on using the changeset viewer.