- Timestamp:
- 11/04/13 10:15:31 (11 years ago)
- Location:
- branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunCollectionViews
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionView.Designer.cs
r9456 r10103 216 216 this.viewHost.Caption = "View"; 217 217 this.viewHost.Content = null; 218 this.viewHost.IsValidOutermostViewhost = false; 218 219 this.viewHost.Location = new System.Drawing.Point(6, 19); 219 220 this.viewHost.Name = "viewHost"; -
branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionView.cs
r10093 r10103 245 245 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 246 246 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this, true); 247 if (outermostViewHost .HotlinkingEnabled) {247 if (outermostViewHost != null && outermostViewHost.HotlinkingEnabled) { 248 248 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 249 249 outermostViewHost.ActiveView.Locked = Locked; … … 276 276 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 277 277 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this); 278 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 279 outermostViewHost.ActiveView.Locked = Locked; 278 if (outermostViewHost != null) { 279 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 280 outermostViewHost.ActiveView.Locked = Locked; 281 } 280 282 } 281 283 }
Note: See TracChangeset
for help on using the changeset viewer.