C# Class ACAT.Extensions.Default.UI.Dialogs.ResizeScannerForm

Inheritance: System.Windows.Forms.Form
Show file Open project: brlima94/acat-localization

Public Methods

Method Description
OnButtonActuated ( Widget widget ) : void

Triggered when a widget is actuated.

OnPause ( ) : void

Pauses the scanner

OnResume ( ) : void

Resumes paused scanner

OnRunCommand ( string command, bool &handled ) : void

Not used

ResizeScannerForm ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
OnFormClosing ( FormClosingEventArgs e ) : void

Releases resources

Private Methods

Method Description
PositionSizeControllerOnEvtAutoRepositionScannerStop ( object sender, EventArgs eventArgs ) : void

Event handler for when the scanner stops moving

ResizeScannerScreen_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Releases resources

ResizeScannerScreen_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initializes resources

WndProc ( Message &m ) : void
onBack ( ) : void

User wants to quit. Confirms and exits

onRepositionScanner ( ) : void

Auto positions the scanner at the pre-defined locations on the display and lets the user select the default position

onRestoreDefaults ( ) : void

Restores default position and size of the scanner

onZoomIn ( ) : void

Increases the size of the scanner (zoom in)

onZoomOut ( ) : void

Decreases the size of the scanner (zoom out)

subscribeToButtonEvents ( ) : void

Subscribtes to events for each of the buttons so we can display contexual help as each button is highlighted

unsubscribeToButtonEvents ( ) : void

Unsubscribe from button events

widget_EvtHighlightOff ( Widget widget, bool &handled ) : void

Handler for highlight off. Update the tooltip

widget_EvtHighlightOn ( Widget widget, bool &handled ) : void

Event handler for when button is highlighted. Update tooltip

Method Details

OnButtonActuated() public method

Triggered when a widget is actuated.
public OnButtonActuated ( Widget widget ) : void
widget Widget Which one triggered?
return void

OnFormClosing() protected method

Releases resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs
return void

OnPause() public method

Pauses the scanner
public OnPause ( ) : void
return void

OnResume() public method

Resumes paused scanner
public OnResume ( ) : void
return void

OnRunCommand() public method

Not used
public OnRunCommand ( string command, bool &handled ) : void
command string
handled bool
return void

ResizeScannerForm() public method

Initializes a new instance of the class.
public ResizeScannerForm ( ) : System
return System