Метод | Описание | |
---|---|---|
CheckWidgetEnabled ( CheckEnabledArgs arg ) : bool |
Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.
|
|
ClearFilter ( ) : void |
Clears the search filter
|
|
FileBrowserScanner ( ) : System |
Initializes a new instance of the class.
|
|
GetInvoker ( ) : ExtensionInvoker |
Returns the extension invoker object
|
|
Initialize ( StartupArg startupArg ) : bool |
Initializes the class
|
|
IsFilterEmpty ( ) : bool |
Returns if there is a search filter
|
|
OnFocusChanged ( WindowActivityMonitorInfo monitorInfo ) : void |
Not used
|
|
OnPause ( ) : void |
Pauses scanning
|
|
OnQueryPanelChange ( PanelRequestEventArgs eventArg ) : bool |
not needed
|
|
OnResume ( ) : void |
Resumes scanning
|
|
OnRunCommand ( string command, bool &handled ) : void |
Not used
|
|
OnWidgetActuated ( Widget widget, bool &handled ) : void |
Invoked when the user makes a selection
|
|
SetTargetControl ( Form parent, Widget widget ) : void |
Not needed
|
|
createStatusBar ( ) : void |
Creates a status bar for the scanner
|
|
sanitizeFileExtensions ( String extensions ) : void |
Normalizes the file extension, check for period etc.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnFormClosing ( FormClosingEventArgs e ) : void |
Clean up
|
Метод | Описание | |
---|---|---|
FileBrowserScanner_FormClosing ( object sender, FormClosingEventArgs e ) : void |
Release resources and stop threads/timers
|
|
FileBrowserScanner_KeyDown ( object sender, KeyEventArgs e ) : void |
Key down handler
|
|
FileBrowserScanner_Load ( object sender, EventArgs e ) : void |
The form has loaded. Initialze it.
|
|
FileBrowserScanner_LocationChanged ( object sender, EventArgs e ) : void |
IF there is an alphabet scanner, keep it docked with this form
|
|
FileBrowserScanner_Shown ( object sender, EventArgs e ) : void |
Set focus to this scanner
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
Instance_EvtScannerClosed ( object sender, ScannerCloseEventArg arg ) : void |
Event handler for when a scanner closes. Reposition this scanner to its default position
|
|
Instance_EvtScannerShow ( object sender, ScannerShowEventArg arg ) : void |
Invoked when the companian scanner is shown. Dock this scanner with the companian.
|
|
SearchFilter_TextChanged ( object sender, EventArgs e ) : void |
The search filter changed. Reload the file list
|
|
SortOrderIcon_Click ( object sender, EventArgs e ) : void |
User click on the button to resort
|
|
WndProc ( Message &m ) : void | ||
_keyboardActuator_EvtKeyPress ( object sender, KeyPressEventArgs e ) : void |
Key press handler. Process the ESC key to quit
|
|
actuateWidget ( Widget widget, bool &handled ) : void |
Actuates a widget - performs associated action
|
|
dockToScanner ( Form scanner ) : void |
Docks this scanner to the companian scanner
|
|
enableWatchdogs ( ) : void |
Make sure the scanner stays focused
|
|
filterFiles ( List |
Filter files based on the extensions to include and exclude
|
|
getAllFiles ( String folders, SortOrder order ) : List |
Get all the files from the specified folders. Sort them depending on the current sort order
|
|
getFileOperationFromUser ( FileInfo fileInfo ) : FileOperation |
Prompt the user to make a selection on what to do with the selected file. Open it or delete it.
|
|
getMeasuredString ( Graphics graphics, |
Returns string that graphically fits into the specified width. If it doesn't, curtails the string and adds ellipses
|
|
gotoNextPage ( ) : void |
Display the next pageful of files
|
|
gotoPreviousPage ( ) : void |
Display the previous pageful of files
|
|
handleDeleteFile ( FileInfo fileInfo ) : void |
Delete the file
|
|
handleFileOperation ( FileOperation operation, FileInfo fileInfo ) : void |
Perform action on the file
|
|
handleWidgetSelection ( Widget widget, bool &handled ) : void |
Handle actuation of a widget - navigate, select file etc depending on what the widget represents
|
|
highlightOff ( ) : void |
Turn all highlighting off
|
|
includeFile ( FileInfo fileInfo, String includeExtension, String excludeExtension, String filter ) : bool |
Checks whether the specifed file should be selected or not
|
|
loadFiles ( ) : void |
Look at filters, load files from the specified folders
|
|
onFileSelected ( FileInfo fileInfo ) : bool |
User selected a file from the list. If reqd, ask the user if she wants to open or delete the file
|
|
refreshFileList ( ) : void |
Refreshes the list of files in the UI
|
|
removeWatchdogs ( ) : void |
Remove all the watchdogs
|
|
setFormStyles ( CreateParams createParams ) : CreateParams |
Set the style of the form
|
|
subscribeToEvents ( ) : void |
Subscribes to the various events
|
|
switchSortOrder ( ) : void |
Resort the file list and refresh it in the display
|
|
updateButtonBar ( ) : void |
Updates the icons in the button bar depending on the context
|
|
updateStatusBar ( ) : void |
Updates the status bar with the current sort order
|
public CheckWidgetEnabled ( CheckEnabledArgs arg ) : bool | ||
arg | CheckEnabledArgs | info about the scanner button |
Результат | bool |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Результат | void |
public Initialize ( StartupArg startupArg ) : bool | ||
startupArg | StartupArg | arguments |
Результат | bool |
public OnFocusChanged ( WindowActivityMonitorInfo monitorInfo ) : void | ||
monitorInfo | WindowActivityMonitorInfo | Info about focused element |
Результат | void |
protected OnFormClosing ( FormClosingEventArgs e ) : void | ||
e | FormClosingEventArgs | event args |
Результат | void |
public OnQueryPanelChange ( PanelRequestEventArgs eventArg ) : bool | ||
eventArg | PanelRequestEventArgs | arg |
Результат | bool |
public OnRunCommand ( string command, bool &handled ) : void | ||
command | string | |
handled | bool | |
Результат | void |
public OnWidgetActuated ( Widget widget, bool &handled ) : void | ||
widget | Widget | widget selected |
handled | bool | was it handled? |
Результат | void |
public SetTargetControl ( Form parent, Widget widget ) : void | ||
parent | Form | |
widget | Widget | |
Результат | void |
public sanitizeFileExtensions ( String extensions ) : void | ||
extensions | String | list of extensions |
Результат | void |