C# Класс APG.CodeHelper.IconHelper.IconListManager

Показать файл Открыть проект

Открытые методы

Метод Описание
AddFileIcon ( string filePath ) : int

Called publicly to add a file's icon to the ImageList.

ClearLists ( ) : void

Clears any ImageLists that IconListManager is managing.

IconListManager ( System imageList, IconReader iconSize ) : System

Creates an instance of IconListManager that will add icons to a single ImageList using the specified IconSize.

IconListManager ( System smallImageList, System largeImageList ) : System

Creates an instance of IconListManager that will add icons to two ImageList types. The two image lists are intended to be one for large icons, and the other for small icons.

Приватные методы

Метод Описание
AddExtension ( string Extension, int ImageListPosition ) : void

Used internally, adds the extension to the hashtable, so that its value can then be returned.

Описание методов

AddFileIcon() публичный Метод

Called publicly to add a file's icon to the ImageList.
public AddFileIcon ( string filePath ) : int
filePath string Full path to the file.
Результат int

ClearLists() публичный Метод

Clears any ImageLists that IconListManager is managing.
public ClearLists ( ) : void
Результат void

IconListManager() публичный Метод

Creates an instance of IconListManager that will add icons to a single ImageList using the specified IconSize.
public IconListManager ( System imageList, IconReader iconSize ) : System
imageList System ImageList to add icons to.
iconSize IconReader Size to use (either 32 or 16 pixels).
Результат System

IconListManager() публичный Метод

Creates an instance of IconListManager that will add icons to two ImageList types. The two image lists are intended to be one for large icons, and the other for small icons.
public IconListManager ( System smallImageList, System largeImageList ) : System
smallImageList System The ImageList that will hold small icons.
largeImageList System The ImageList that will hold large icons.
Результат System