Changeset 10103 for branches/Breadcrumbs/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.cs
- Timestamp:
- 11/04/13 10:15:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Breadcrumbs/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.cs
r10093 r10103 142 142 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 143 143 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(op, this); 144 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 145 outermostViewHost.ActiveView.Locked = Locked; 144 if (outermostViewHost != null) { 145 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 146 outermostViewHost.ActiveView.Locked = Locked; 147 } 146 148 HandledMouseEventArgs eventArgs = e as HandledMouseEventArgs; 147 149 if (eventArgs != null) … … 196 198 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 197 199 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(op, this); 198 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 199 outermostViewHost.ActiveView.Locked = Locked; 200 if (outermostViewHost != null) { 201 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 202 outermostViewHost.ActiveView.Locked = Locked; 203 } 200 204 } 201 205 }
Note: See TracChangeset
for help on using the changeset viewer.