Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/19/11 03:17:35 (13 years ago)
Author:
swagner
Message:

Implemented static item image properties to avoid instance creation in TypeSelector and NewItemDialog (#1651)

Location:
trunk/sources/HeuristicLab.Optimization/3.3/Problems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/Problems/Problem.cs

    r6938 r7201  
    3939    }
    4040
    41     public override Image ItemImage {
     41    public static new Image StaticItemImage {
    4242      get { return HeuristicLab.Common.Resources.VSImageLibrary.Type; }
    4343    }
  • trunk/sources/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs

    r5954 r7201  
    4343    public string Filename { get; set; }
    4444
    45     public override Image ItemImage {
     45    public static new Image StaticItemImage {
    4646      get { return HeuristicLab.Common.Resources.VSImageLibrary.Type; }
    4747    }
     
    263263      #endregion
    264264
    265       public override Image ItemImage {
     265      public static new Image StaticItemImage {
    266266        get { return HeuristicLab.Common.Resources.VSImageLibrary.Method; }
    267267      }
Note: See TracChangeset for help on using the changeset viewer.