Free cookie consent management tool by TermsFeed Policy Generator

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

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

added HeuristicLab!.MainForm.Test project and demo implementation
adapted MainForm to new design (ticket #716)

File size: 675 bytes
Line 
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 {
10  public class OpenMenuItem : ToolStripMenuItemBase, IToolStripButtonItem, ITestUserInterfaceItemProvider {
11    public override string MenuStructure {
12      get { return "File"; }
13    }
14
15    public override string Name {
16      get { return "Open"; }
17    }
18
19    public override Keys ShortCutKeys {
20      get { return Keys.Control | Keys.O; }
21    }
22
23    public override void Execute(IMainForm mainform) {
24      MessageBox.Show("Open Execute called");
25    }
26  }
27}
Note: See TracBrowser for help on using the repository browser.