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;
|
---|
[2458] | 6 | using HeuristicLab.MainForm.WindowsForms;
|
---|
[2247] | 7 | using HeuristicLab.Common.Resources;
|
---|
[2243] | 8 |
|
---|
| 9 | namespace HeuristicLab.MainForm.Test {
|
---|
[2696] | 10 | public class OpenToolStripMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, ITestUserInterfaceItemProvider {
|
---|
[2247] | 11 | public override string Name {
|
---|
| 12 | get { return "Open"; }
|
---|
[2458] | 13 | }
|
---|
[2247] | 14 |
|
---|
[2458] | 15 | public override IEnumerable<string> Structure {
|
---|
| 16 | get { return new string[] { "File" }; }
|
---|
[2243] | 17 | }
|
---|
| 18 |
|
---|
[2247] | 19 | public override int Position {
|
---|
[2249] | 20 | get { return 1200; }
|
---|
[2243] | 21 | }
|
---|
| 22 |
|
---|
| 23 | public override Keys ShortCutKeys {
|
---|
| 24 | get { return Keys.Control | Keys.O; }
|
---|
| 25 | }
|
---|
| 26 |
|
---|
[2247] | 27 | public override System.Drawing.Image Image {
|
---|
| 28 | get { return Resources.OpenIcon; }
|
---|
| 29 | }
|
---|
| 30 |
|
---|
[2458] | 31 | public override void Execute() {
|
---|
| 32 | new OpenAction().Execute(MainFormManager.MainForm);
|
---|
[2243] | 33 | }
|
---|
| 34 | }
|
---|
| 35 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.