Changeset 2546 for trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs
- Timestamp:
- 12/07/09 02:44:23 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs
r2520 r2546 36 36 /// </summary> 37 37 [Content(typeof(Scope), true)] 38 public partial class ScopeView : ViewBase {38 public partial class ScopeView : ItemViewBase { 39 39 private Dictionary<IScope, TreeNode> scopeNodeTable; 40 40 private Dictionary<IScope, bool> scopeExpandedTable; … … 133 133 if(scopesTreeView.SelectedNode != null && scopesTreeView.SelectedNode.Tag != null) { 134 134 IScope scope = (IScope)scopesTreeView.SelectedNode.Tag; 135 PluginManager.ControlManager.ShowControl(new VariablesScopeView(scope));135 MainFormManager.MainForm.ShowView(new VariablesScopeView(scope)); 136 136 } 137 137 } … … 201 201 private void variablesToolStripMenuItem_Click(object sender, EventArgs e) { 202 202 IScope scope = (IScope)scopesTreeView.SelectedNode.Tag; 203 PluginManager.ControlManager.ShowControl(new VariablesScopeView(scope));203 MainFormManager.MainForm.ShowView(new VariablesScopeView(scope)); 204 204 } 205 205 private void showViewToolStripMenuItem_Click(object sender, EventArgs e) { 206 206 IItem item = (IItem)((ToolStripMenuItem)sender).Tag; 207 PluginManager.ControlManager.ShowControl((IControl)MainFormManager.CreateDefaultView(item)); 207 IView view = MainFormManager.CreateDefaultView(item); 208 if (view != null) MainFormManager.MainForm.ShowView(view); 208 209 } 209 210 #endregion
Note: See TracChangeset
for help on using the changeset viewer.