Changeset 10107 for branches/Breadcrumbs/HeuristicLab.MainForm.WindowsForms
- Timestamp:
- 11/05/13 11:47:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Breadcrumbs/HeuristicLab.MainForm.WindowsForms/3.3/Controls/BreadcrumbControl.cs
r10103 r10107 131 131 var outermostViewHost = mainForm.GetOutermostControlOfType<ViewHost>(ViewHost); 132 132 bool showBreadcrumbs = outermostViewHost.ShowBreadcrumbs; 133 var oldCrumbs = outermostViewHost.Breadcrumbs; 133 134 outermostViewHost.Content = null; 134 135 var viewType = MainFormManager.GetDefaultViewType(content.GetType()); 135 136 outermostViewHost.ViewType = viewType; 136 137 outermostViewHost.Content = content; 137 outermostViewHost.UpdateBreadcrumbTrail(o utermostViewHost.Breadcrumbs, breadcrumbs);138 outermostViewHost.UpdateBreadcrumbTrail(oldCrumbs, breadcrumbs); 138 139 outermostViewHost.ShowBreadcrumbs = showBreadcrumbs; 139 140 }
Note: See TracChangeset
for help on using the changeset viewer.