C# 클래스 ACAT.Extensions.Default.UI.Dialogs.GeneralSettingsForm

파일 보기 프로젝트 열기: brlima94/acat-localization

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Form is closing. Release resources

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 보호된 메소드

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

GeneralSettingsForm() 공개 메소드

Initializes a new instance of the class.
public GeneralSettingsForm ( ) : System
리턴 System

OnButtonActuated() 공개 메소드

Triggered when a widget is triggered. This handles all the buttons on the form - OK, cancel and restore defaults
public OnButtonActuated ( Widget widget ) : void
widget Widget Which one triggered?
리턴 void

OnFormClosing() 보호된 메소드

Form is closing. Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs event args
리턴 void

OnPause() 공개 메소드

Pauses animation
public OnPause ( ) : void
리턴 void

OnResume() 공개 메소드

Resumes animation
public OnResume ( ) : void
리턴 void

OnRunCommand() 공개 메소드

Invoked when there is a need to run a command. The command comes from the animation file
public OnRunCommand ( string command, bool &handled ) : void
command string the command to run
handled bool wast it handled?
리턴 void