Changeset 3497 for trunk/sources/HeuristicLab.MainForm.WindowsForms
- Timestamp:
- 04/22/10 22:06:20 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs
r3471 r3497 34 34 cachedViews = new Dictionary<Type, IContentView>(); 35 35 viewType = null; 36 Content = null;37 36 startDragAndDrop = false; 38 37 viewContextMenuStrip.IgnoredViewTypes = new List<Type>() { typeof(ViewHost) }; 39 38 activeView = null; 39 Content = null; 40 OnContentChanged(); 40 41 } 41 42 public ViewHost(IContent content) … … 132 133 } 133 134 135 134 136 if (!ViewCanShowContent(viewType, Content)) { 135 137 ViewType = MainFormManager.GetDefaultViewType(Content.GetType()); … … 268 270 startDragAndDrop = true; 269 271 viewsLabel.Capture = false; 272 viewsLabel.Focus(); 270 273 } 271 274 }
Note: See TracChangeset
for help on using the changeset viewer.