- Timestamp:
- 09/19/10 19:43:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ContentView.cs
r4068 r4435 67 67 } else { 68 68 if (value != locked) { 69 this.SuspendRepaint();70 69 locked = value; 71 70 OnLockedChanged(); 72 this.SetEnabledStateOfControls();71 SetEnabledStateOfControls(); 73 72 PropertyInfo prop = typeof(IContentView).GetProperty("Locked"); 74 73 PropagateStateChanges(this, typeof(IContentView), prop); 75 74 OnChanged(); 76 this.ResumeRepaint(true);77 75 } 78 76 } … … 111 109 /// </summary> 112 110 protected override void SetEnabledStateOfControls() { 111 base.SetEnabledStateOfControls(); 112 Enabled = Content != null; 113 113 } 114 114 }
Note: See TracChangeset
for help on using the changeset viewer.