C# Class Microsoft.VisualStudio.Project.ImageHandler

Inheritance: IDisposable
Afficher le fichier Open project: tunnelvisionlabs/MPFProj10 Class Usage Examples

Méthodes publiques

Méthode Description
AddImage ( Image image ) : void

Add an image to the ImageHandler.

Close ( ) : void

Closes the ImageHandler object freeing its resources.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetIconHandle ( int iconIndex ) : IntPtr

Returns the handle to an icon build from the image of index iconIndex in the image list.

ImageHandler ( ) : System

Builds an empty ImageHandler object.

ImageHandler ( ImageList list ) : System

Builds an ImageHandler object from an ImageList object.

ImageHandler ( Stream resourceStream ) : System

Builds an ImageHandler object from a Stream providing the bitmap that stores the images for the image list.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
InitHandlesList ( ) : void

Method Details

AddImage() public méthode

Add an image to the ImageHandler.
public AddImage ( Image image ) : void
image Image the image object to be added.
Résultat void

Close() public méthode

Closes the ImageHandler object freeing its resources.
public Close ( ) : void
Résultat void

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetIconHandle() public méthode

Returns the handle to an icon build from the image of index iconIndex in the image list.
public GetIconHandle ( int iconIndex ) : IntPtr
iconIndex int
Résultat System.IntPtr

ImageHandler() public méthode

Builds an empty ImageHandler object.
public ImageHandler ( ) : System
Résultat System

ImageHandler() public méthode

Builds an ImageHandler object from an ImageList object.
public ImageHandler ( ImageList list ) : System
list System.Windows.Forms.ImageList
Résultat System

ImageHandler() public méthode

Builds an ImageHandler object from a Stream providing the bitmap that stores the images for the image list.
public ImageHandler ( Stream resourceStream ) : System
resourceStream Stream
Résultat System

InitHandlesList() protected méthode

protected InitHandlesList ( ) : void
Résultat void