Changeset 3727
- Timestamp:
- 05/09/10 01:36:39 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ContentView.cs
r3566 r3727 49 49 } else { 50 50 if (this.content != value) { 51 this.SuspendRepaint(); 51 52 if (this.content != null) this.DeregisterContentEvents(); 52 53 this.content = value; … … 54 55 this.OnContentChanged(); 55 56 this.OnChanged(); 57 this.ResumeRepaint(true); 56 58 } 57 59 } … … 68 70 } else { 69 71 if (value != locked) { 72 this.SuspendRepaint(); 70 73 locked = value; 71 74 PropertyInfo prop = typeof(IContentView).GetProperty("Locked"); … … 73 76 OnLockedChanged(); 74 77 OnChanged(); 78 this.ResumeRepaint(true); 75 79 } 76 80 } -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/View.cs
r3557 r3727 62 62 } else { 63 63 if (value != readOnly) { 64 this.SuspendRepaint(); 64 65 readOnly = value; 65 66 PropertyInfo prop = typeof(IView).GetProperty("ReadOnly"); 66 67 PropagateStateChanges(this, typeof(IView), prop); 67 68 OnReadOnlyChanged(); 69 this.ResumeRepaint(true); 68 70 } 69 71 }
Note: See TracChangeset
for help on using the changeset viewer.