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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs

    r5781 r7201  
    5252    }
    5353
    54     public override System.Drawing.Image ItemImage { get { return VSImageLibrary.Script; } }
     54    public static new System.Drawing.Image StaticItemImage { get { return VSImageLibrary.Script; } }
    5555
    5656    private MethodInfo executeMethod;
     
    280280            assemblies.Add(a, false);
    281281          }
    282         } catch (NotSupportedException) {
     282        }
     283        catch (NotSupportedException) {
    283284          // NotSupportedException is thrown while accessing
    284285          // the Location property of the anonymously hosted
Note: See TracChangeset for help on using the changeset viewer.