C# Class APG.CodeHelper.IconHelper.IconListManager

Afficher le fichier Open project: UGTU/UGTUKadrProject

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
AddExtension ( string Extension, int ImageListPosition ) : void

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

Method Details

AddFileIcon() public méthode

Called publicly to add a file's icon to the ImageList.
public AddFileIcon ( string filePath ) : int
filePath string Full path to the file.
Résultat int

ClearLists() public méthode

Clears any ImageLists that IconListManager is managing.
public ClearLists ( ) : void
Résultat void

IconListManager() public méthode

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).
Résultat System

IconListManager() public méthode

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.
Résultat System