Beispiel #1
0
    static Icons()
    {
      _assembly16 = new IconInfo("assembly-16", LoadBitmapFromResource("Resources/TreeImages/assembly_16.png"));
      _attribute16 = new IconInfo("attribute-16", LoadBitmapFromResource("Resources/TreeImages/attribute_16.png"));
      _class16 = new IconInfo("class-16", LoadBitmapFromResource("Resources/TreeImages/class_16.png"));
      _enumValue16 = new IconInfo("enum-value-16", LoadBitmapFromResource("Resources/TreeImages/enum_value_16.png"));
      _field16 = new IconInfo("field-16", LoadBitmapFromResource("Resources/TreeImages/field_16.png"));
      _folder16 = new IconInfo("folder-16", LoadBitmapFromResource("Resources/TreeImages/folder_16.png"));
      _folderSpecial16 = new IconInfo("folder-special-16", LoadBitmapFromResource("Resources/TreeImages/folder_special_16.png"));
      _method16 = new IconInfo("method-16", LoadBitmapFromResource("Resources/TreeImages/method_16.png"));
      _methodFriend16 = new IconInfo("method-friend-16", LoadBitmapFromResource("Resources/TreeImages/method_friend_16.png"));
      _namespace16 = new IconInfo("namespace-16", LoadBitmapFromResource("Resources/TreeImages/namespace_16.png"));
      _operator16 = new IconInfo("operator-16", LoadBitmapFromResource("Resources/TreeImages/operator_16.png"));
      _property16 = new IconInfo("property-16", LoadBitmapFromResource("Resources/TreeImages/property_16.png"));
      _xmlTag16 = new IconInfo("xml-tag-16", LoadBitmapFromResource("Resources/TreeImages/xml_tag_16.png"));

      _all = new IconInfo[] { _assembly16, _attribute16, _class16, _enumValue16, _field16, _folder16, _folderSpecial16, _method16, _methodFriend16, _namespace16, _operator16, _property16, _xmlTag16 };
    }
Beispiel #2
0
    static Icons()
    {
      _assembly16 = new IconInfo("assembly-16", resources.TreeImages.assembly_16);
      _attribute16 = new IconInfo("attribute-16", resources.TreeImages.attribute_16);
      _class16 = new IconInfo("class-16", resources.TreeImages.class_16);
      _enumValue16 = new IconInfo("enum-value-16", resources.TreeImages.enum_value_16);
      _field16 = new IconInfo("field-16", resources.TreeImages.field_16);
      _folder16 = new IconInfo("folder-16", resources.TreeImages.folder_16);
      _folderSpecial16 = new IconInfo("folder-special-16", resources.TreeImages.folder_special_16);
      _method16 = new IconInfo("method-16", resources.TreeImages.method_16);
      _methodFriend16 = new IconInfo("method-friend-16", resources.TreeImages.method_friend_16);
      _namespace16 = new IconInfo("namespace-16", resources.TreeImages.namespace_16);
      _operator16 = new IconInfo("operator-16", resources.TreeImages.operator_16);
      _property16 = new IconInfo("property-16", resources.TreeImages.property_16);
      _xmlTag16 = new IconInfo("xml-tag-16", resources.TreeImages.xml_tag_16);

      _all = new IconInfo[] { _assembly16, _attribute16, _class16, _enumValue16, _field16, _folder16, _folderSpecial16, _method16, _methodFriend16, _namespace16, _operator16, _property16, _xmlTag16 };
    }