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.Core.Views/3.3/ViewHost.cs

    r2870 r3177  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.MainForm;
     28using HeuristicLab.MainForm.WindowsForms;
    2829
    2930namespace HeuristicLab.Core.Views {
     
    5354          Initialize();
    5455        }
     56      }
     57    }
     58
     59    public new bool Enabled {
     60      get { return base.Enabled; }
     61      set {
     62        this.SuspendRepaint();
     63        base.Enabled = value;
     64        this.ResumeRepaint(true);
    5565      }
    5666    }
Note: See TracChangeset for help on using the changeset viewer.