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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 |
|
---|
6 | using HeuristicLab.MainForm;
|
---|
7 | using System.Windows.Forms;
|
---|
8 |
|
---|
9 | namespace 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.