Changeset 3720
- Timestamp:
- 05/08/10 17:56:19 (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/ViewHost.cs
r3709 r3720 182 182 #region forwarding of view events 183 183 protected override void OnReadOnlyChanged() { 184 this.SuspendRepaint(); 184 185 base.OnReadOnlyChanged(); 185 186 foreach (IContentView view in cachedViews.Values) 186 187 view.ReadOnly = this.ReadOnly; 188 this.ResumeRepaint(true); 187 189 } 188 190 protected override void OnLockedChanged() { 191 this.SuspendRepaint(); 189 192 base.OnLockedChanged(); 190 193 foreach (IContentView view in cachedViews.Values) 191 194 view.Locked = this.Locked; 195 this.ResumeRepaint(true); 192 196 } 193 197 internal protected override void OnShown(ViewShownEventArgs e) { -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHostPanel.cs
r3590 r3720 42 42 43 43 private void OnSizeChangedHelper(EventArgs e) { 44 ((Control)this).SuspendRepaint(); 44 45 base.OnSizeChanged(e); 46 ((Control)this).ResumeRepaint(true); 45 47 } 46 48 }
Note: See TracChangeset
for help on using the changeset viewer.