Method | Description | |
---|---|---|
GeneralSettingsForm ( ) : System |
Initializes a new instance of the class.
|
|
OnButtonActuated ( Widget widget ) : void |
Triggered when a widget is triggered. This handles all the buttons on the form - OK, cancel and restore defaults
|
|
OnPause ( ) : void |
Pauses animation
|
|
OnResume ( ) : void |
Resumes animation
|
|
OnRunCommand ( string command, bool &handled ) : void |
Invoked when there is a need to run a command. The command comes from the animation file
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnFormClosing ( FormClosingEventArgs e ) : void |
Form is closing. Release resources
|
Method | Description | |
---|---|---|
GeneralSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void |
Form is closing. Release resources
|
|
GeneralSettingsForm_Load ( object sender, EventArgs e ) : void |
Form has been loaded. Initialize the form
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
WndProc ( Message &m ) : void | ||
getAppPreferencesFromUI ( ) : ACATPreferences |
Gets the settings with the current state of widgets in the form and returns a ACATPreferences object that can be presisted.
|
|
initWidgetSettings ( ACATPreferences prefs ) : void |
Initializes the state of all the widgets in the form with values from the settings.
|
|
loadDefaultSettings ( ) : void |
Restores default settings from the settings file for ACAT
|
|
quit ( ) : void |
Confirms whether to quit and close the form
|
|
saveSettingsAndQuit ( ) : void |
Saves changes and closes the dialog
|
|
subscribeToEvents ( ) : void |
Subscribes to all the events triggered by the widgets and the interpreter
|
|
widget_EvtValueChanged ( object sender, WidgetEventArgs e ) : void |
User changed some setting on the form. Sets the dirty flag
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public OnButtonActuated ( Widget widget ) : void | ||
widget | Widget | Which one triggered? |
return | void |
protected OnFormClosing ( FormClosingEventArgs e ) : void | ||
e | FormClosingEventArgs | event args |
return | void |
public OnRunCommand ( string command, bool &handled ) : void | ||
command | string | the command to run |
handled | bool | wast it handled? |
return | void |