Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.MainForm.Test/3.2/ButtonItems/NewFormToolStripButtonItem.cs @ 2971

Last change on this file since 2971 was 2696, checked in by mkommend, 15 years ago

first version of redesigned MainForm (ticket #857)

File size: 860 bytes
RevLine 
[2249]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
[2458]5using HeuristicLab.MainForm.WindowsForms;
[2249]6
7namespace HeuristicLab.MainForm.Test {
[2696]8  public class NewFormToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItem, ITestUserInterfaceItemProvider {
[2249]9    public override int Position {
10      get { return 11; }
11    }
12
13    public override string Name {
14      get { return "Form"; }
15    }
16
[2458]17    public override IEnumerable<string> Structure {
18      get { return new string[] { "New" }; }
[2249]19    }
20
[2458]21    public override System.Windows.Forms.ToolStripItemDisplayStyle ToolStripItemDisplayStyle {
22      get { return System.Windows.Forms.ToolStripItemDisplayStyle.ImageAndText; }
[2249]23    }
[2458]24
25    public override void Execute() {
26      new NewFormAction().Execute(MainFormManager.MainForm);
27    }
[2249]28  }
29}
Note: See TracBrowser for help on using the repository browser.