Changeset 2250 for trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems
- Timestamp:
- 08/06/09 15:24:11 (15 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/ExitToolStripMenuItem.cs
r2249 r2250 9 9 10 10 namespace HeuristicLab.MainForm.Test { 11 public class SaveToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {11 public class CloseToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 12 12 public override string Name { 13 get { return " Save"; }13 get { return "Exit"; } 14 14 } 15 15 … … 19 19 20 20 public override int Position { 21 get { return 1300; } 22 } 23 24 public override Keys ShortCutKeys { 25 get { return Keys.Control | Keys.S; } 26 } 27 28 public override System.Drawing.Image Image { 29 get { return Resources.SaveIcon; } 21 get { return 1400; } 30 22 } 31 23 32 24 public override void Execute(IMainForm mainform) { 33 new SaveAction().Execute(mainform);25 mainform.Close(); 34 26 } 35 27 }
Note: See TracChangeset
for help on using the changeset viewer.