Last change
on this file since 2256 was
2249,
checked in by mkommend, 15 years ago
|
adapted MainForm to create DropDownButtons (ticket #716)
|
File size:
680 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows.Forms;
|
---|
6 |
|
---|
7 | using HeuristicLab.MainForm;
|
---|
8 | using HeuristicLab.Common.Resources;
|
---|
9 |
|
---|
10 | namespace HeuristicLab.MainForm.Test {
|
---|
11 | public class NewFormToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {
|
---|
12 | public override string Name {
|
---|
13 | get { return "Form"; }
|
---|
14 | }
|
---|
15 |
|
---|
16 | public override string Structure {
|
---|
17 | get { return "File/New"; }
|
---|
18 | }
|
---|
19 |
|
---|
20 | public override int Position {
|
---|
21 | get { return 1110; }
|
---|
22 | }
|
---|
23 |
|
---|
24 | public override void Execute(IMainForm mainform) {
|
---|
25 | new NewFormAction().Execute(mainform);
|
---|
26 | }
|
---|
27 | }
|
---|
28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.