source:
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/ExitToolStripMenuItem.cs
@
2318
Last change on this file since 2318 was 2256, checked in by mkommend, 15 years ago | |
---|---|
File size: 653 bytes |
Rev | Line | |
---|---|---|
[2243] | 1 | using System; |
2 | using System.Collections.Generic; | |
3 | using System.Linq; | |
4 | using System.Text; | |
[2247] | 5 | using System.Windows.Forms; |
[2243] | 6 | |
7 | using HeuristicLab.MainForm; | |
[2247] | 8 | using HeuristicLab.Common.Resources; |
[2243] | 9 | |
10 | namespace HeuristicLab.MainForm.Test { | |
[2250] | 11 | public class CloseToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { |
[2247] | 12 | public override string Name { |
[2250] | 13 | get { return "Exit"; } |
[2247] | 14 | } |
15 | ||
[2249] | 16 | public override string Structure { |
[2247] | 17 | get { return "File"; } |
[2243] | 18 | } |
19 | ||
[2247] | 20 | public override int Position { |
[2250] | 21 | get { return 1400; } |
[2243] | 22 | } |
23 | ||
24 | public override void Execute(IMainForm mainform) { | |
[2256] | 25 | mainform.Close(); |
[2243] | 26 | } |
27 | } | |
28 | } |
Note: See TracBrowser
for help on using the repository browser.