Ignore:
Timestamp:
08/06/09 12:32:27 (12 years ago)
Author:
mkommend
Message:

adapted HeuristicLab.MainForm.Test to use HL.Common.Resources (ticket #716)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.Test/3.2/SaveMenuItem.cs

    r2243 r2247  
    33using System.Linq;
    44using System.Text;
     5using System.Windows.Forms;
    56
    67using HeuristicLab.MainForm;
    7 using System.Windows.Forms;
     8using HeuristicLab.Common.Resources;
    89
    910namespace HeuristicLab.MainForm.Test {
    1011  public class SaveMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {
    11     public override string MenuStructure {
    12       get { return "TEST/Test/Test/Test"; }
     12    public override string Name {
     13      get { return "Save"; }
    1314    }
    1415
    15     public override string Name {
    16       get { return "Save"; }
     16    public override string MenuStructure {
     17      get { return "File"; }
     18    }
     19
     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; }
    1730    }
    1831
Note: See TracChangeset for help on using the changeset viewer.