Last change
on this file since 2612 was
2458,
checked in by mkommend, 15 years ago
|
integrated branch MainForm refactoring into trunk (ticket #771)
|
File size:
747 bytes
|
Rev | Line | |
---|
[2243] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
[2247] | 5 | using System.Windows.Forms;
|
---|
[2243] | 6 |
|
---|
[2458] | 7 | using HeuristicLab.MainForm.WindowsForms;
|
---|
[2247] | 8 | using HeuristicLab.Common.Resources;
|
---|
[2243] | 9 |
|
---|
| 10 | namespace HeuristicLab.MainForm.Test {
|
---|
[2458] | 11 | public class NewFormToolStripMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItemBase, ITestUserInterfaceItemProvider {
|
---|
[2247] | 12 | public override string Name {
|
---|
[2249] | 13 | get { return "Form"; }
|
---|
[2247] | 14 | }
|
---|
| 15 |
|
---|
[2458] | 16 | public override IEnumerable<string> Structure {
|
---|
| 17 | get { return "File/New".Split('/'); }
|
---|
[2243] | 18 | }
|
---|
| 19 |
|
---|
[2247] | 20 | public override int Position {
|
---|
[2249] | 21 | get { return 1110; }
|
---|
[2458] | 22 |
|
---|
[2243] | 23 | }
|
---|
| 24 |
|
---|
[2458] | 25 | public override void Execute() {
|
---|
| 26 | new NewFormAction().Execute(MainFormManager.MainForm);
|
---|
[2243] | 27 | }
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.