C# Class ImageUtil.ImagesFolder

Inheritance: ITreeNode
Exibir arquivo Open project: rsdn/janus Class Usage Examples

Public Methods

Method Description
AddImage ( string fullName, Image image ) : void
CopyTo ( Array array, int index ) : void
CreateImageList ( ) : ImageList
GetAllImagesCount ( ) : int
GetEnumerator ( ) : IEnumerator
GetFullName ( string shortName ) : string
GetImageInfo ( string shortName ) : ImageInfo
HasImage ( string relativeName ) : bool
ImagesFolder ( ) : System
ImagesFolder ( IResourceReader resources ) : System
RemoveImage ( string shortName ) : void
RenameImage ( string shortName, string fullName ) : void
Save ( IResourceWriter resources ) : void
this ( int iIndex ) : ITreeNode

Private Methods

Method Description
AddImage ( string fullName, string names, Image image ) : void
GetRootFolder ( ) : ImagesFolder
ImagesFolder ( string name, ImagesFolder parent ) : System
OnAddConflict ( string shortName, string fullName ) : bool
OnImageAdded ( string fullName, string shortName ) : void
OnImageRemoved ( string fullName, string shortName ) : void
OnImageRenamed ( string prevFullName, string newFullName ) : void
SetChanged ( ) : void

Method Details

AddImage() public method

public AddImage ( string fullName, Image image ) : void
fullName string
image Image
return void

CopyTo() public method

public CopyTo ( Array array, int index ) : void
array System.Array
index int
return void

CreateImageList() public method

public CreateImageList ( ) : ImageList
return System.Windows.Forms.ImageList

GetAllImagesCount() public method

public GetAllImagesCount ( ) : int
return int

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetFullName() public method

public GetFullName ( string shortName ) : string
shortName string
return string

GetImageInfo() public method

public GetImageInfo ( string shortName ) : ImageInfo
shortName string
return ImageInfo

HasImage() public method

public HasImage ( string relativeName ) : bool
relativeName string
return bool

ImagesFolder() public method

public ImagesFolder ( ) : System
return System

ImagesFolder() public method

public ImagesFolder ( IResourceReader resources ) : System
resources IResourceReader
return System

RemoveImage() public method

public RemoveImage ( string shortName ) : void
shortName string
return void

RenameImage() public method

public RenameImage ( string shortName, string fullName ) : void
shortName string
fullName string
return void

Save() public method

public Save ( IResourceWriter resources ) : void
resources IResourceWriter
return void

this() public method

public this ( int iIndex ) : ITreeNode
iIndex int
return ITreeNode