Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/07/11 01:15:31 (13 years ago)
Author:
mkommend
Message:

#1555: Enabled editing of node labels and optimized drag over method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ExperimentTreeView.Designer.cs

    r6524 r6526  
    4949      this.ExpandToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5050      this.CollapseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     51      this.EditNodeLabelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5152      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    5253      this.optimizersGroupBox.SuspendLayout();
     
    162163      this.treeView.ImageIndex = 0;
    163164      this.treeView.ImageList = this.imageList;
     165      this.treeView.LabelEdit = true;
    164166      this.treeView.Location = new System.Drawing.Point(4, 34);
    165167      this.treeView.Name = "optimizerTreeView";
     
    167169      this.treeView.Size = new System.Drawing.Size(191, 402);
    168170      this.treeView.TabIndex = 10;
     171      this.treeView.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(treeView_AfterLabelEdit);
     172      this.treeView.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(treeView_BeforeLabelEdit);
    169173      this.treeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.optimizerTreeView_ItemDrag);
    170174      this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.optimizerTreeview_NodeMouseClick);
     
    215219      //
    216220      this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     221            this.EditNodeLabelToolStripMenuItem,
    217222            this.ExpandToolStripMenuItem,
    218223            this.CollapseToolStripMenuItem});
     
    233238      this.CollapseToolStripMenuItem.Text = "Collapse";
    234239      this.CollapseToolStripMenuItem.Click += new System.EventHandler(this.CollapseToolStripMenuItem_Click);
     240      //
     241      // EditNodeLabelToolStripMenuItem
     242      //
     243      this.EditNodeLabelToolStripMenuItem.Name = "EditNodeLabelToolStripMenuItem";
     244      this.EditNodeLabelToolStripMenuItem.Size = new System.Drawing.Size(119, 22);
     245      this.EditNodeLabelToolStripMenuItem.Text = "Edit Name";
     246      this.EditNodeLabelToolStripMenuItem.Click += new System.EventHandler(this.EditNodeLabelToolStripMenuItem_Click);
     247
    235248      //
    236249      // ExperimentTreeView
     
    268281    private System.Windows.Forms.ToolStripMenuItem ExpandToolStripMenuItem;
    269282    private System.Windows.Forms.ToolStripMenuItem CollapseToolStripMenuItem;
     283    private System.Windows.Forms.ToolStripMenuItem EditNodeLabelToolStripMenuItem;
    270284
    271285  }
Note: See TracChangeset for help on using the changeset viewer.