source: trunk/sources/HeuristicLab.MainForm.Test/3.2/OpenMenuItem.cs @ 2247

Last change on this file since 2247 was 2247, checked in by mkommend, 12 years ago

adapted HeuristicLab.MainForm.Test to use HL.Common.Resources (ticket #716)

File size: 866 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Forms;
6using HeuristicLab.MainForm;
7using HeuristicLab.Common.Resources;
8
9namespace HeuristicLab.MainForm.Test {
10  public class OpenMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {
11    public override string Name {
12      get { return "Open"; }
13    }   
14
15    public override string MenuStructure {
16      get { return "File"; }
17    }
18
19    public override int Position {
20      get { return 1100; }
21    }
22
23    public override Keys ShortCutKeys {
24      get { return Keys.Control | Keys.O; }
25    }
26
27    public override System.Drawing.Image Image {
28      get { return Resources.OpenIcon; }
29    }
30
31    public override void Execute(IMainForm mainform) {
32      MessageBox.Show("Open Execute called");
33    }
34  }
35}
Note: See TracBrowser for help on using the repository browser.