Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/10 16:43:57 (14 years ago)
Author:
swagner
Message:

Moved extension methods of Control from HeuristicLab.Core.Views to HeuristicLab.MainForm.WindowsForms and suspended/resumed repainting in some controls to improve UI response times (#887).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.cs

    r2998 r3177  
    112112        this.Cursor = Cursors.AppStarting;
    113113        newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = false;
     114        operatorGraphViewHost.Enabled = false;
    114115
    115116        var call = new Func<string, object>(XmlParser.Deserialize);
     
    127128            else
    128129              Content.OperatorGraph = operatorGraph;
     130            operatorGraphViewHost.Enabled = true;
    129131            newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = true;
    130132            this.Cursor = Cursors.Default;
     
    138140        this.Cursor = Cursors.AppStarting;
    139141        newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = false;
     142        operatorGraphViewHost.Enabled = false;
    140143
    141144        var call = new Action<OperatorGraph, string, int>(XmlGenerator.Serialize);
     
    150153          }
    151154          Invoke(new Action(delegate() {
     155            operatorGraphViewHost.Enabled = true;
    152156            newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = true;
    153157            this.Cursor = Cursors.Default;
Note: See TracChangeset for help on using the changeset viewer.