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

상속: System.Windows.Forms.Form, IDialogPanel
파일 보기 프로젝트 열기: brlima94/acat-localization

공개 메소드들

메소드 설명
MouseGridSettingsForm ( ) : System

Initializes a new instance of the class.

OnButtonActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget ) : void

Invoked when a widget is actuated

OnPause ( ) : void

Pauses the scanner

OnResume ( ) : void

Resumes paused scanner

OnRunCommand ( string command, bool &handled ) : void

Not used

보호된 메소드들

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

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Form closing. Release resources

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

MouseGridSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Release resources

MouseGridSettingsForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initialize

WndProc ( Message &m ) : void
getSettingsFromUI ( ) : ACAT.Lib.Extension.ACATPreferences

Updates settings based on the values set by the user in the form. Returns a ACATPreferences object with the new values.

initWidgetSettings ( ACAT.Lib.Extension.ACATPreferences prefs ) : void

Sets the state of all the controls based on the settings in the prefs parameter

loadDefaultSettings ( ) : void

Restores default settings from the preferences file

quit ( ) : void

If dirty, confirm with user and then quit

saveSettingsAndQuit ( ) : void

Saves settings and close the dialog. Confirms with the user first

subscribeToEvents ( ) : void

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

widget_EvtValueChanged ( object sender, WidgetEventArgs e ) : void

User changed something 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

MouseGridSettingsForm() 공개 메소드

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

OnButtonActuated() 공개 메소드

Invoked when a widget is actuated
public OnButtonActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget ) : void
widget ACAT.Lib.Core.WidgetManagement.Widget Which one triggered?
리턴 void

OnFormClosing() 보호된 메소드

Form closing. Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs eent arg
리턴 void

OnPause() 공개 메소드

Pauses the scanner
public OnPause ( ) : void
리턴 void

OnResume() 공개 메소드

Resumes paused scanner
public OnResume ( ) : void
리턴 void

OnRunCommand() 공개 메소드

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