Changeset 14589 for branches/symbreg-factors-2650/HeuristicLab.MainForm.WindowsForms/3.3/Views/View.cs
- Timestamp:
- 01/20/17 09:55:38 (8 years ago)
- Location:
- branches/symbreg-factors-2650
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650
- Property svn:mergeinfo changed
/trunk/sources merged: 14548,14553,14561,14582
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.MainForm.WindowsForms/3.3/Views/View.cs
r14542 r14589 34 34 this.closeReason = CloseReason.None; 35 35 this.readOnly = false; 36 37 36 if (ViewAttribute.HasViewAttribute(this.GetType())) 38 37 this.Caption = ViewAttribute.GetViewName(this.GetType()); … … 46 45 set { 47 46 if (InvokeRequired) { 48 Action<string> action = delegate 47 Action<string> action = delegate(string s) { this.Caption = s; }; 49 48 Invoke(action, value); 50 49 } else { … … 62 61 set { 63 62 if (InvokeRequired) { 64 Action<bool> action = delegate 63 Action<bool> action = delegate(bool b) { this.ReadOnly = b; }; 65 64 Invoke(action, value); 66 65 } else { … … 95 94 96 95 protected override void OnEnabledChanged(EventArgs e) { 97 SuspendRepaint();98 96 base.OnEnabledChanged(e); 99 97 if (Enabled) SetEnabledStateOfControls(); 100 ResumeRepaint(true);101 98 } 102 99
Note: See TracChangeset
for help on using the changeset viewer.