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/OpenMenuItem.cs

    r2243 r2247  
    33using System.Linq;
    44using System.Text;
    5 
     5using System.Windows.Forms;
    66using HeuristicLab.MainForm;
    7 using System.Windows.Forms;
     7using HeuristicLab.Common.Resources;
    88
    99namespace HeuristicLab.MainForm.Test {
    10   public class OpenMenuItem : ToolStripMenuItemBase, IToolStripButtonItem, ITestUserInterfaceItemProvider {
     10  public class OpenMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider {
     11    public override string Name {
     12      get { return "Open"; }
     13    }   
     14
    1115    public override string MenuStructure {
    1216      get { return "File"; }
    1317    }
    1418
    15     public override string Name {
    16       get { return "Open"; }
     19    public override int Position {
     20      get { return 1100; }
    1721    }
    1822
    1923    public override Keys ShortCutKeys {
    2024      get { return Keys.Control | Keys.O; }
     25    }
     26
     27    public override System.Drawing.Image Image {
     28      get { return Resources.OpenIcon; }
    2129    }
    2230
Note: See TracChangeset for help on using the changeset viewer.