C# Class ACAT.Extensions.Default.UI.Dialogs.ScreenLockForm

Show file Open project: brlima94/acat-localization

Public Methods

Method Description
OnPause ( ) : void

Not used

OnResume ( ) : void

Not used

ScreenLockForm ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Unsubsribe events and close form

Private Methods

Method Description
HandleWndProc ( Message m ) : bool
InitializeComponent ( ) : void

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

ScreenLockForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Release resources

ScreenLockForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initialize the UI

WndProc ( Message &m ) : void
_keyboardActuator_EvtKeyDown ( object sender, KeyEventArgs e ) : void

Key down event handler

_keyboardActuator_EvtKeyUp ( object sender, KeyEventArgs e ) : void

Key up handler

handlePinInput ( String value ) : void

The 'value' is the pin the user entered. Verify if this is a valid pin and 'unlock' the digits entered so far. If the whole pin has been entered unlock the display. After each digit is entered, transitions the animation to the next one

initAnimationManager ( ) : bool

Loads all animations

initWidgetManager ( ) : bool

Initialize the widget manager

initialize ( ) : bool

Initialize the form

subscribeToEvents ( ) : void

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

timer_Tick ( object sender, EventArgs e ) : void

Updates the date / time on the form

unlockDoneProc ( ) : void

Thread proc to close the form and quit

unlockScreen ( ) : void

Unlock the screen and close asynchronously

updateDateTime ( ) : void

Displays the current date time on the form

widget_EvtActuated ( object sender, WidgetEventArgs e ) : void

Triggered when a widget is triggered

Method Details

Dispose() protected method

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

OnFormClosing() protected method

Unsubsribe events and close form
protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs
return void

OnPause() public method

Not used
public OnPause ( ) : void
return void

OnResume() public method

Not used
public OnResume ( ) : void
return void

ScreenLockForm() public method

Initializes a new instance of the class.
public ScreenLockForm ( ) : System
return System