Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/09/17 15:03:55 (7 years ago)
Author:
gkronber
Message:

#2638: reverse merged r14533

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/Views/View.cs

    r14533 r14553  
    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.