Last change
on this file since 3824 was
2458,
checked in by mkommend, 15 years ago
|
integrated branch MainForm refactoring into trunk (ticket #771)
|
File size:
864 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.MainForm.WindowsForms;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.MainForm.Test {
|
---|
8 | public class NewFormToolStripButtonItem : HeuristicLab.MainForm.WindowsForms.ToolBarItemBase, ITestUserInterfaceItemProvider {
|
---|
9 | public override int Position {
|
---|
10 | get { return 11; }
|
---|
11 | }
|
---|
12 |
|
---|
13 | public override string Name {
|
---|
14 | get { return "Form"; }
|
---|
15 | }
|
---|
16 |
|
---|
17 | public override IEnumerable<string> Structure {
|
---|
18 | get { return new string[] { "New" }; }
|
---|
19 | }
|
---|
20 |
|
---|
21 | public override System.Windows.Forms.ToolStripItemDisplayStyle ToolStripItemDisplayStyle {
|
---|
22 | get { return System.Windows.Forms.ToolStripItemDisplayStyle.ImageAndText; }
|
---|
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.