Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/OpenToolStripMenuItem.cs @ 2318

Last change on this file since 2318 was 2249, checked in by mkommend, 15 years ago

adapted MainForm to create DropDownButtons (ticket #716)

File size: 867 bytes
RevLine 
[2243]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
[2247]5using System.Windows.Forms;
[2243]6using HeuristicLab.MainForm;
[2247]7using HeuristicLab.Common.Resources;
[2243]8
9namespace HeuristicLab.MainForm.Test {
[2249]10  public class OpenToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {
[2247]11    public override string Name {
12      get { return "Open"; }
13    }   
14
[2249]15    public override string Structure {
[2243]16      get { return "File"; }
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
[2243]31    public override void Execute(IMainForm mainform) {
[2249]32      new OpenAction().Execute(mainform);
[2243]33    }
34  }
35}
Note: See TracBrowser for help on using the repository browser.