C# Класс ACAT.Extensions.Default.UI.Dialogs.ScreenLockSettingsForm

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

Открытые методы

Метод Описание
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