Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/20/17 09:55:38 (8 years ago)
Author:
gkronber
Message:

#2650 merged r14548:14582 from trunk to 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

    r14542 r14589  
    3434      this.closeReason = CloseReason.None;
    3535      this.readOnly = false;
    36 
    3736      if (ViewAttribute.HasViewAttribute(this.GetType()))
    3837        this.Caption = ViewAttribute.GetViewName(this.GetType());
     
    4645      set {
    4746        if (InvokeRequired) {
    48           Action<string> action = delegate (string s) { this.Caption = s; };
     47          Action<string> action = delegate(string s) { this.Caption = s; };
    4948          Invoke(action, value);
    5049        } else {
     
    6261      set {
    6362        if (InvokeRequired) {
    64           Action<bool> action = delegate (bool b) { this.ReadOnly = b; };
     63          Action<bool> action = delegate(bool b) { this.ReadOnly = b; };
    6564          Invoke(action, value);
    6665        } else {
     
    9594
    9695    protected override void OnEnabledChanged(EventArgs e) {
    97       SuspendRepaint();
    9896      base.OnEnabledChanged(e);
    9997      if (Enabled) SetEnabledStateOfControls();
    100       ResumeRepaint(true);
    10198    }
    10299
Note: See TracChangeset for help on using the changeset viewer.