- Timestamp:
- 01/04/17 16:33:37 (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: 14504,14506-14509,14516-14517,14519,14522-14523,14527-14529,14531-14533
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.MainForm.WindowsForms/3.3/Views/View.cs
r14185 r14542 34 34 this.closeReason = CloseReason.None; 35 35 this.readOnly = false; 36 36 37 if (ViewAttribute.HasViewAttribute(this.GetType())) 37 38 this.Caption = ViewAttribute.GetViewName(this.GetType()); … … 45 46 set { 46 47 if (InvokeRequired) { 47 Action<string> action = delegate (string s) { this.Caption = s; };48 Action<string> action = delegate (string s) { this.Caption = s; }; 48 49 Invoke(action, value); 49 50 } else { … … 61 62 set { 62 63 if (InvokeRequired) { 63 Action<bool> action = delegate (bool b) { this.ReadOnly = b; };64 Action<bool> action = delegate (bool b) { this.ReadOnly = b; }; 64 65 Invoke(action, value); 65 66 } else { … … 94 95 95 96 protected override void OnEnabledChanged(EventArgs e) { 97 SuspendRepaint(); 96 98 base.OnEnabledChanged(e); 97 99 if (Enabled) SetEnabledStateOfControls(); 100 ResumeRepaint(true); 98 101 } 99 102
Note: See TracChangeset
for help on using the changeset viewer.