C# 클래스 Microsoft.VisualStudio.Project.ImageHandler

상속: IDisposable
파일 보기 프로젝트 열기: tunnelvisionlabs/MPFProj10 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
InitHandlesList ( ) : void

메소드 상세

AddImage() 공개 메소드

Add an image to the ImageHandler.
public AddImage ( Image image ) : void
image Image the image object to be added.
리턴 void

Close() 공개 메소드

Closes the ImageHandler object freeing its resources.
public Close ( ) : void
리턴 void

Dispose() 공개 메소드

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

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetIconHandle() 공개 메소드

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

ImageHandler() 공개 메소드

Builds an empty ImageHandler object.
public ImageHandler ( ) : System
리턴 System

ImageHandler() 공개 메소드

Builds an ImageHandler object from an ImageList object.
public ImageHandler ( ImageList list ) : System
list System.Windows.Forms.ImageList
리턴 System

ImageHandler() 공개 메소드

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
리턴 System

InitHandlesList() 보호된 메소드

protected InitHandlesList ( ) : void
리턴 void