StandardKeypad - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki

Namespace: UserControlClassLibrary
Extends: Keypad

Description: Standard calculator keypad.

Constructors Usage
StandardKeypad() Initializes an instance of StandardKeypad class
StandardKeypad(IHelper) Initializes an instance of StandardKeypad class with injected services
Events Usage
OnButtonMouseClick(object, EventArgs) (inherited) when key pad button is clicked
OnButtonMouseEnter(object, EventArgs) (inherited) when mouse pointer enters key pad button
OnButtonMouseLeave(object, EventArgs) (inherited) when mouse pointer leaves key pad button
OnKeypadEnable(object, EventArgs) (inherited) when key pad is enabled
OnMemoryAdd(object, EventArgs) (inherited) when specified value in calculator memory is increased
OnMemoryClear(object, EventArgs) (inherited) when calculator memory is cleared
OnMemoryRecall(object, EventArgs) (inherited) when most recent value stored in calculator memory is set to input buffer
OnMemoryStore(object, EventArgs) (inherited) when value is stored in calculator memory
OnMemorySubtract(object, EventArgs) (inherited) when specified value in calculator memory is decreased
OnMemoryToggle(object, EventArgs) (inherited) when memory panel is toggled (extended/shrunken)
Properties Usage
ExtraKeysSuspended<bool> (inherited) indicate if extra keys are disabled
HasMemory<bool> (inherited) indicate if calculator memory is empty
IsDisabled<bool> (inherited) indicate if key pad is disabled
MainAreaHeight<int> (inherited) get main key pad area height
Methods Usage
DisableAllKeys() (inherited) disable all keys on key pad
EnableAllKeys() (inherited) enable all keys on key pad
EnableValidKeys() (inherited) enable all keys with the exception of memory keys when calculator memory is empty
LeaveBasicKeysOn() (inherited) disable all keys with the exception of basic keys
LeaveMemoryKeyOn() (inherited) disable all keys with the exception of memory toggle key
⚠️ **GitHub.com Fallback** ⚠️