Property | Type | Description | |
---|---|---|---|
AddDirectory | void | ||
AddFile | void | ||
GetFullName | string | ||
PopulatingItems | void |
Method | Description | |
---|---|---|
FilesListBox ( ) : System |
Intializes a new instance of the FilesListBox class, to view a list of files inside a ListBox control.
|
|
FilesListBox ( string directoryName ) : System |
Intializes a new instance of the FilesListBox class, to view a list of files inside a ListBox control.
|
|
Refresh ( ) : void |
Method | Description | |
---|---|---|
OnDrawItem ( |
Paints each file with its icon.
|
|
OnFileSelected ( |
Fires the FileSelected event.
|
|
OnMouseDoubleClick ( System e ) : void |
Overrides, when double click on the list - fires the FileSelected event, or, for directory, move into it.
|
Method | Description | |
---|---|---|
AddDirectory ( string directoryName ) : void |
Adds the specified directory to the list.
|
|
AddFile ( string fileName ) : void |
Adds the specified file to the list.
|
|
GetFullName ( string fileNameOnly ) : string |
Gets the full file name, by adding the directory name to the file specified.
|
|
PopulatingItems ( ) : void |
Populate the list box with files and directories according to the directoryName property
|
public FilesListBox ( string directoryName ) : System | ||
directoryName | string | The directory to start from |
return | System |
protected OnDrawItem ( |
||
e | ||
return | void |
protected OnFileSelected ( |
||
fse | ||
return | void |
protected OnMouseDoubleClick ( System e ) : void | ||
e | System | |
return | void |