Changeset 2249 for trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems
- Timestamp:
- 08/06/09 13:57:51 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems
- Files:
-
- 2 added
- 3 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/NewEditorToolStripMenuItem.cs
r2247 r2249 9 9 10 10 namespace HeuristicLab.MainForm.Test { 11 public class SaveMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {11 public class NewEditorToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 12 12 public override string Name { 13 get { return " Save"; }13 get { return "Editor"; } 14 14 } 15 15 16 public override string MenuStructure {17 get { return "File "; }16 public override string Structure { 17 get { return "File/New"; } 18 18 } 19 19 20 20 public override int Position { 21 get { return 1200; } 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 1120; } 30 22 } 31 23 32 24 public override void Execute(IMainForm mainform) { 33 MessageBox.Show("Save Execute called");25 new NewEditorAction().Execute(mainform); 34 26 } 35 27 } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/NewFormToolStripMenuItem.cs
r2247 r2249 9 9 10 10 namespace HeuristicLab.MainForm.Test { 11 public class SaveMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {11 public class NewFormToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 12 12 public override string Name { 13 get { return " Save"; }13 get { return "Form"; } 14 14 } 15 15 16 public override string MenuStructure {17 get { return "File "; }16 public override string Structure { 17 get { return "File/New"; } 18 18 } 19 19 20 20 public override int Position { 21 get { return 1200; } 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 1110; } 30 22 } 31 23 32 24 public override void Execute(IMainForm mainform) { 33 MessageBox.Show("Save Execute called");25 new NewFormAction().Execute(mainform); 34 26 } 35 27 } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/NewToolStripMenuItem.cs
r2247 r2249 9 9 10 10 namespace HeuristicLab.MainForm.Test { 11 public class SaveMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {11 public class NewToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 12 12 public override string Name { 13 get { return " Save"; }13 get { return "New"; } 14 14 } 15 15 16 public override string MenuStructure {16 public override string Structure { 17 17 get { return "File"; } 18 18 } 19 19 20 20 public override int Position { 21 get { return 1200; } 22 } 23 24 public override Keys ShortCutKeys { 25 get { return Keys.Control | Keys.S; } 21 get { return 1100; } 26 22 } 27 23 28 24 public override System.Drawing.Image Image { 29 get { return Resources. SaveIcon; }25 get { return Resources.NewIcon; } 30 26 } 31 27 32 28 public override void Execute(IMainForm mainform) { 33 MessageBox.Show("Save Execute called");34 29 } 35 30 } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/OpenToolStripMenuItem.cs
r2247 r2249 8 8 9 9 namespace HeuristicLab.MainForm.Test { 10 public class Open MenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {10 public class OpenToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 11 11 public override string Name { 12 12 get { return "Open"; } 13 13 } 14 14 15 public override string MenuStructure {15 public override string Structure { 16 16 get { return "File"; } 17 17 } 18 18 19 19 public override int Position { 20 get { return 1 100; }20 get { return 1200; } 21 21 } 22 22 … … 30 30 31 31 public override void Execute(IMainForm mainform) { 32 MessageBox.Show("Open Execute called");32 new OpenAction().Execute(mainform); 33 33 } 34 34 } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/SaveToolStripMenuItem.cs
r2247 r2249 9 9 10 10 namespace HeuristicLab.MainForm.Test { 11 public class Save MenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {11 public class SaveToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 12 12 public override string Name { 13 13 get { return "Save"; } 14 14 } 15 15 16 public override string MenuStructure {16 public override string Structure { 17 17 get { return "File"; } 18 18 } 19 19 20 20 public override int Position { 21 get { return 1 200; }21 get { return 1300; } 22 22 } 23 23 … … 31 31 32 32 public override void Execute(IMainForm mainform) { 33 MessageBox.Show("Save Execute called");33 new SaveAction().Execute(mainform); 34 34 } 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.