source:
trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/SaveAsMenuItem.cs
@
2520
Last change on this file since 2520 was 2520, checked in by swagner, 14 years ago | |
---|---|
File size: 1004 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Collections.Generic; |
3 | using System.Linq; |
4 | using System.Text; |
5 | using System.Windows.Forms; |
6 | using System.Drawing; |
7 | using HeuristicLab.MainForm.WindowsForms; |
8 | using HeuristicLab.Common.Resources; |
9 | |
10 | namespace HeuristicLab.Optimizer.MenuItems { |
11 | public class SaveAsMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItemBase, IOptimizerUserInterfaceItemProvider { |
12 | public override string Name { |
13 | get { return "Save &As..."; } |
14 | } |
15 | |
16 | public override IEnumerable<string> Structure { |
17 | get { return new string[] { "&File" }; } |
18 | } |
19 | |
20 | public override int Position { |
21 | get { return 1400; } |
22 | } |
23 | |
24 | public override ToolStripItemDisplayStyle ToolStripItemDisplayStyle { |
25 | get { return ToolStripItemDisplayStyle.ImageAndText; } |
26 | } |
27 | |
28 | public override Keys ShortCutKeys { |
29 | get { return Keys.Control | Keys.Shift | Keys.S; } |
30 | } |
31 | |
32 | public override void Execute() { |
33 | Actions.SaveAsAction.Execute(); |
34 | } |
35 | } |
36 | } |
Note: See TracBrowser
for help on using the repository browser.