Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/09 11:08:34 (15 years ago)
Author:
swagner
Message:

Implemented first draft of MainForm support in HeuristicLab.Core/HeuristicLab.Core.Views and all other depending plugins (#770)

Location:
trunk/sources/HeuristicLab.Core.Views/3.3
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3

    • Property svn:ignore
      •  

        old new  
        11bin
        22obj
         3*.user
  • trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs

    r2515 r2520  
    2929using HeuristicLab.PluginInfrastructure;
    3030using HeuristicLab.Common;
    31 
    32 namespace HeuristicLab.Core {
     31using HeuristicLab.MainForm;
     32
     33namespace HeuristicLab.Core.Views {
    3334  /// <summary>
    3435  /// The visual represenation of <see cref="IScope"/>.
    3536  /// </summary>
     37  [Content(typeof(Scope), true)]
    3638  public partial class ScopeView : ViewBase {
    3739    private Dictionary<IScope, TreeNode> scopeNodeTable;
     
    203205    private void showViewToolStripMenuItem_Click(object sender, EventArgs e) {
    204206      IItem item = (IItem)((ToolStripMenuItem)sender).Tag;
    205       PluginManager.ControlManager.ShowControl(item.CreateView());
     207      PluginManager.ControlManager.ShowControl((IControl)MainFormManager.CreateDefaultView(item));
    206208    }
    207209    #endregion
Note: See TracChangeset for help on using the changeset viewer.