Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/04/17 16:33:37 (8 years ago)
Author:
gkronber
Message:

#2650: merged r14504:14533 from trunk to branch

Location:
branches/symbreg-factors-2650
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/symbreg-factors-2650

  • branches/symbreg-factors-2650/HeuristicLab.MainForm.WindowsForms/3.3/Views/View.cs

    r14185 r14542  
    3434      this.closeReason = CloseReason.None;
    3535      this.readOnly = false;
     36
    3637      if (ViewAttribute.HasViewAttribute(this.GetType()))
    3738        this.Caption = ViewAttribute.GetViewName(this.GetType());
     
    4546      set {
    4647        if (InvokeRequired) {
    47           Action<string> action = delegate(string s) { this.Caption = s; };
     48          Action<string> action = delegate (string s) { this.Caption = s; };
    4849          Invoke(action, value);
    4950        } else {
     
    6162      set {
    6263        if (InvokeRequired) {
    63           Action<bool> action = delegate(bool b) { this.ReadOnly = b; };
     64          Action<bool> action = delegate (bool b) { this.ReadOnly = b; };
    6465          Invoke(action, value);
    6566        } else {
     
    9495
    9596    protected override void OnEnabledChanged(EventArgs e) {
     97      SuspendRepaint();
    9698      base.OnEnabledChanged(e);
    9799      if (Enabled) SetEnabledStateOfControls();
     100      ResumeRepaint(true);
    98101    }
    99102
Note: See TracChangeset for help on using the changeset viewer.