Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3149


Ignore:
Timestamp:
03/21/10 20:35:32 (15 years ago)
Author:
abeham
Message:

Implemented a possible solution for the slow UI response regarding recursive enable/disable calls. #887

Location:
trunk/sources
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj

    r2989 r3149  
    8787  <ItemGroup>
    8888    <None Include="HeuristicLabCoreViewsPlugin.cs.frame" />
     89    <Compile Include="ControlExtensions.cs" />
    8990    <Compile Include="VariableValueView.cs">
    9091      <SubType>UserControl</SubType>
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs

    r2998 r3149  
    146146        Invoke(new EventHandler(Content_Started), sender, e);
    147147      else {
     148        this.SuspendRepaint();
    148149        SaveEnabled = false;
    149150        parameterCollectionView.Enabled = false;
     
    155156        resetButton.Enabled = false;
    156157        UpdateExecutionTimeTextBox();
     158        this.ResumeRepaint(true);
    157159      }
    158160    }
     
    161163        Invoke(new EventHandler(Content_Stopped), sender, e);
    162164      else {
     165        this.SuspendRepaint();
    163166        SaveEnabled = true;
    164167        parameterCollectionView.Enabled = true;
     
    170173        resetButton.Enabled = true;
    171174        UpdateExecutionTimeTextBox();
     175        this.ResumeRepaint(true);
    172176      }
    173177    }
Note: See TracChangeset for help on using the changeset viewer.