Free cookie consent management tool by TermsFeed Policy Generator

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

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

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

File size: 646 bytes
RevLine 
[2243]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6using HeuristicLab.MainForm;
7using System.Windows.Forms;
8
9namespace HeuristicLab.MainForm.Test {
[2247]10  public class ViewsMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {
[2243]11    public override string Name {
12      get { return "Views"; }
13    }
14
[2247]15    public override int Position {
16      get { return 2000; }
17    }
18
[2243]19    public override Keys ShortCutKeys {
20      get { return Keys.Control | Keys.V; }
21    }
22
23    public override void Execute(IMainForm mainform) {
24      MessageBox.Show("Views Execute called");
25    }
26  }
27}
Note: See TracBrowser for help on using the repository browser.