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

Show file Open project: brlima94/acat-localization

Public Methods

Method Description
ACATTryoutForm ( ) : System

Initializes an instance of hte class

OnButtonActuated ( Widget widget ) : void

Triggered when a widget is actuated.

OnPause ( ) : void

Pauses animation

OnResume ( ) : void

Resumes animation

OnRunCommand ( string command, bool &handled ) : void

Runs the specified command

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Window proc.

Private Methods

Method Description
ACATTryoutForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Release resources

ACATTryoutForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Start animation

InitializeComponent ( ) : void

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

TextBoxEntryOnTextChanged ( object sender, EventArgs eventArgs ) : void

Something changed in the text box. Check if the user typed the word successfuly, if so, clear the word and restart animation

buttonSave_Click ( object sender, EventArgs e ) : void

Event handler to save settings

buttonSteppingTimeDecrease_Click ( object sender, EventArgs e ) : void

Make scanning slower

buttonSteppingTimeIncrease_Click ( object sender, EventArgs e ) : void

Make scanning faster

clearTextBox ( ) : void

Clears the text box

resumeAnimationAsync ( ) : void

Asynchronously resumes animation

setNextWord ( ) : void

Picks the next word from the list and displays it as the prompt for the user

updateToolbar ( ) : void

Updates toolbar with current status

Method Details

ACATTryoutForm() public method

Initializes an instance of hte class
public ACATTryoutForm ( ) : System
return System

Dispose() protected method

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

OnButtonActuated() public method

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

OnPause() public method

Pauses animation
public OnPause ( ) : void
return void

OnResume() public method

Resumes animation
public OnResume ( ) : void
return void

OnRunCommand() public method

Runs the specified command
public OnRunCommand ( string command, bool &handled ) : void
command string command to execute
handled bool was it handled?
return void

WndProc() protected method

Window proc.
protected WndProc ( Message &m ) : void
m Message window message
return void