- Timestamp:
- 11/04/13 10:15:31 (11 years ago)
- Location:
- branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3
- Files:
-
- 4 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 } -
branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunView.Designer.cs
r9456 r10103 178 178 this.viewHost.Content = null; 179 179 this.viewHost.Enabled = false; 180 this.viewHost.IsValidOutermostViewhost = false; 180 181 this.viewHost.Location = new System.Drawing.Point(6, 19); 181 182 this.viewHost.Name = "viewHost"; -
branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunView.cs
r10093 r10103 132 132 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 133 133 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this, true); 134 if (outermostViewHost .HotlinkingEnabled) {134 if (outermostViewHost != null && outermostViewHost.HotlinkingEnabled) { 135 135 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 136 136 outermostViewHost.ActiveView.Locked = Locked; … … 151 151 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 152 152 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this); 153 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 154 outermostViewHost.ActiveView.Locked = Locked; 153 if (outermostViewHost != null) { 154 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 155 outermostViewHost.ActiveView.Locked = Locked; 156 } 155 157 } 156 158 }
Note: See TracChangeset
for help on using the changeset viewer.