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

Mostra file Open project: brlima94/acat-localization

Public Methods

Method Description
OnButtonActuated ( Widget widget ) : void

Triggered when a widget is actuated

OnPause ( ) : void

Pauses animation

OnResume ( ) : void

Resumes paused dialog

OnRunCommand ( string command, bool &handled ) : void

Not used

WordPredictionSettingsForm ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Form is closing. Release resources

Private Methods

Method Description
InitializeComponent ( ) : void

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

ScannerSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Release resources

ScannerSettingsForm_Load ( object sender, EventArgs e ) : void

Form has been loaded

WndProc ( Message &m ) : void
initWidgetSettings ( ACATPreferences prefs ) : void

Inits the controls in the dialog box based on settings

loadDefaultSettings ( ) : void

Loads default values for all the settings in the dialog

quit ( ) : void

Confirms with the user and quits the dialog

saveSettingsAndQuit ( ) : void

Saves settings and closes the dialog

subscribeToEvents ( ) : void

Subscribes to all the events triggered by the widgets and the interpreter

updateSettingsFromUI ( ) : ACATPreferences

Update settings based on what the user has set in the dialog. Returns the preferences object with the settings

widget_EvtValueChanged ( object sender, WidgetEventArgs e ) : void

Some setting changed. Set the dirty flag to indicate this

Method Details

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

OnFormClosing() protected method

Form is closing. Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs closing arg
return void

OnPause() public method

Pauses animation
public OnPause ( ) : void
return void

OnResume() public method

Resumes paused dialog
public OnResume ( ) : void
return void

OnRunCommand() public method

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

WordPredictionSettingsForm() public method

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