Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/NewFormToolStripMenuItem.cs @ 3016

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

first version of redesigned MainForm (ticket #857)

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