Changeset 2458 for trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/NewFormToolStripMenuItem.cs
- Timestamp:
- 10/30/09 17:17:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.Test/3.2/MenuItems/NewFormToolStripMenuItem.cs
r2249 r2458 5 5 using System.Windows.Forms; 6 6 7 using HeuristicLab.MainForm ;7 using HeuristicLab.MainForm.WindowsForms; 8 8 using HeuristicLab.Common.Resources; 9 9 10 10 namespace HeuristicLab.MainForm.Test { 11 public class NewFormToolStripMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {11 public class NewFormToolStripMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItemBase, ITestUserInterfaceItemProvider { 12 12 public override string Name { 13 13 get { return "Form"; } 14 14 } 15 15 16 public override stringStructure {17 get { return "File/New" ; }16 public override IEnumerable<string> Structure { 17 get { return "File/New".Split('/'); } 18 18 } 19 19 20 20 public override int Position { 21 21 get { return 1110; } 22 22 23 } 23 24 24 public override void Execute( IMainForm mainform) {25 new NewFormAction().Execute( mainform);25 public override void Execute() { 26 new NewFormAction().Execute(MainFormManager.MainForm); 26 27 } 27 28 }
Note: See TracChangeset
for help on using the changeset viewer.