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

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

공개 메소드들

메소드 설명
OnButtonActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget ) : void

Triggered when a widget is actuated.

OnPause ( ) : void

Pause the scanner

OnResume ( ) : void

Resume paused scanner

OnRunCommand ( string command, bool &handled ) : void

Not used

ScannerSettingsForm ( ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
OnFormClosing ( FormClosingEventArgs e ) : void

Form is closing release resources

비공개 메소드들

메소드 설명
ScannerSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Releases resources

ScannerSettingsForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initialize

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

Gets the values from the form and updates the settings. Returns the preferences object with the new settings

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

Initialize the controls on the form based on the corresponding values in the preferences

loadDefaultSettings ( ) : void

Loads default settings from the preferences file

quit ( ) : void

Confirms with the user and quits the dialog

saveSettingsAndQuit ( ) : void

Saves the settings and quits the dialog

subscribeToEvents ( ) : void

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

widget_EvtValueChanged ( object sender, ACAT.Lib.Core.WidgetManagement.WidgetEventArgs e ) : void

User changed some setting on the screen. Set the dirty flag to indicate this

메소드 상세

OnButtonActuated() 공개 메소드

Triggered 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 is closing release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs event arg
리턴 void

OnPause() 공개 메소드

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

OnResume() 공개 메소드

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

OnRunCommand() 공개 메소드

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

ScannerSettingsForm() 공개 메소드

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