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

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

공개 메소드들

메소드 설명
OnButtonActuated ( Widget widget ) : void

Triggered when a widget is triggered

OnPause ( ) : void

Pauses the scanner

OnResume ( ) : void

Resumes paused scanner

OnRunCommand ( string command, bool &handled ) : void

Not used

ScreenLockSettingsForm ( ) : System

Initializes a new instance of the class.

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
CheckPINCode ( String strPIN, char charMaxDigit, String &errorMessage ) : Boolean

Validates the pin entered so far to make sure it is all digits, is within the length specified

InitializeComponent ( ) : void

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

ScreenLockSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Release resources

ScreenLockSettingsForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initialize

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

Initialize controls on the form based on the settings (the pin in this case)

onCancel ( ) : void

Use wants to cancel out

onOK ( ) : void

User pressed OK. Check the pin is valid, and quit

subscribeToEvents ( ) : void

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

tbPINCode_KeyPress ( object sender, KeyPressEventArgs e ) : void

Key press event handler

tbPINCode_TextChanged ( object sender, EventArgs e ) : void

User entered something. Set the dirty flag

updateSettingsFromUI ( ) : ACATPreferences

Updates the preferences based on values from the form (the pincode in this case). Returns a new Preferences object

widget_EvtValueChanged ( object sender, WidgetEventArgs e ) : void

Something changed. Set 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

OnButtonActuated() 공개 메소드

Triggered when a widget is triggered
public OnButtonActuated ( Widget widget ) : void
widget Widget Which one triggered?
리턴 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

ScreenLockSettingsForm() 공개 메소드

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