C# Class ACAT.Extensions.Default.UI.Scanners.AlphabetScannerQwerty70Keys

Inheritance: System.Windows.Forms.Form, IScannerPanel, IScannerPreview, ISupportsStatusBar
Afficher le fichier Open project: brlima94/acat-localization

Méthodes publiques

Méthode Description
AlphabetScannerQwerty70Keys ( ) : System

Initializes a new instance of the class.

CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : bool

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.

Initialize ( ACAT.Lib.Core.PanelManagement.StartupArg startupArg ) : bool

Intitialize the class

OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void

Invoked when the focus changes either in the active window or when the active window itself changes.

OnPause ( ) : void

Pauses animations

OnQueryPanelChange ( ACAT.Lib.Core.PanelManagement.PanelRequestEventArgs eventArg ) : bool

Not used

OnResume ( ) : void

Resumes animation

OnWidgetActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget, bool &handled ) : void

Triggered when the user actuates a widget

RestoreDefaults ( ) : void

Restores default zoom and position settings

SaveScaleSetting ( ) : void

Save the current scale setting

SaveSettings ( ) : void

Saves the current zoom settings

ScaleDefault ( ) : void

Sets the default scale factor

ScaleDown ( ) : void

Zooms out the scanner

ScaleUp ( ) : void

Zooms in the scanner

SetTargetControl ( Form parent, ACAT.Lib.Core.WidgetManagement.Widget widget ) : void

Not used

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Form is closing. Release resources

Private Methods

Méthode Description
AlphabetScanner_FormClosing ( object sender, FormClosingEventArgs e ) : void

Release resources and stop threads/timers

AlphabetScanner_Load ( object sender, EventArgs e ) : void

The form has loaded. Start the animation sequence

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

WndProc ( Message &m ) : void
_alphabetScannerCommon_EvtFormatPreditionWord ( int index, string word ) : string

Handler to format the word prediction words. Add an index number prefix.

Method Details

AlphabetScannerQwerty70Keys() public méthode

Initializes a new instance of the class.
public AlphabetScannerQwerty70Keys ( ) : System
Résultat System

CheckWidgetEnabled() public méthode

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.
public CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : bool
arg ACAT.Lib.Core.AgentManagement.CheckEnabledArgs info about the scanner button
Résultat bool

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

Initialize() public méthode

Intitialize the class
public Initialize ( ACAT.Lib.Core.PanelManagement.StartupArg startupArg ) : bool
startupArg ACAT.Lib.Core.PanelManagement.StartupArg startup params
Résultat bool

OnFocusChanged() public méthode

Invoked when the focus changes either in the active window or when the active window itself changes.
public OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void
monitorInfo ACAT.Lib.Core.Utility.WindowActivityMonitorInfo Info about focused element
Résultat void

OnFormClosing() protected méthode

Form is closing. Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs closing param
Résultat void

OnPause() public méthode

Pauses animations
public OnPause ( ) : void
Résultat void

OnQueryPanelChange() public méthode

Not used
public OnQueryPanelChange ( ACAT.Lib.Core.PanelManagement.PanelRequestEventArgs eventArg ) : bool
eventArg ACAT.Lib.Core.PanelManagement.PanelRequestEventArgs
Résultat bool

OnResume() public méthode

Resumes animation
public OnResume ( ) : void
Résultat void

OnWidgetActuated() public méthode

Triggered when the user actuates a widget
public OnWidgetActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget, bool &handled ) : void
widget ACAT.Lib.Core.WidgetManagement.Widget widget actuated
handled bool was this handled?
Résultat void

RestoreDefaults() public méthode

Restores default zoom and position settings
public RestoreDefaults ( ) : void
Résultat void

SaveScaleSetting() public méthode

Save the current scale setting
public SaveScaleSetting ( ) : void
Résultat void

SaveSettings() public méthode

Saves the current zoom settings
public SaveSettings ( ) : void
Résultat void

ScaleDefault() public méthode

Sets the default scale factor
public ScaleDefault ( ) : void
Résultat void

ScaleDown() public méthode

Zooms out the scanner
public ScaleDown ( ) : void
Résultat void

ScaleUp() public méthode

Zooms in the scanner
public ScaleUp ( ) : void
Résultat void

SetTargetControl() public méthode

Not used
public SetTargetControl ( Form parent, ACAT.Lib.Core.WidgetManagement.Widget widget ) : void
parent System.Windows.Forms.Form
widget ACAT.Lib.Core.WidgetManagement.Widget
Résultat void