Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6568


Ignore:
Timestamp:
07/15/11 11:51:42 (13 years ago)
Author:
gkronber
Message:

#1577: removed explicit disposal of cached views in the viewhost to fix the exception which occurs when the scroll bar of a view is used while the underlying content is changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewHost.cs

    r6342 r6568  
    8181              if (cached != null) {
    8282                Controls.Remove(cached);
    83                 cached.Dispose();
    8483              }
    8584              cachedView = null;
     
    204203      viewsLabel.Location = new Point(Width - viewsLabel.Margin.Right - viewsLabel.Width, viewsLabel.Margin.Top);
    205204      configurationLabel.Location = new Point(Width - configurationLabel.Margin.Right - configurationLabel.Width, viewsLabel.Bottom + viewsLabel.Margin.Bottom + configurationLabel.Margin.Top);
     205     
    206206    }
    207207
Note: See TracChangeset for help on using the changeset viewer.