Namespace: UserControlClassLibrary
Extends: UserControl
Implements: IKeypad
Description: Basic calculator/converter keypad.
Events |
Usage |
OnButtonMouseClick(object, EventArgs) |
when key pad button is clicked |
OnButtonMouseEnter(object, EventArgs) |
when mouse pointer enters key pad button |
OnButtonMouseLeave(object, EventArgs) |
when mouse pointer leaves key pad button |
OnKeypadEnable(object, EventArgs) |
when key pad is enabled |
OnMemoryAdd(object, EventArgs) |
when specified value in calculator memory is increased |
OnMemoryClear(object, EventArgs) |
when calculator memory is cleared |
OnMemoryRecall(object, EventArgs) |
when most recent value stored in calculator memory is set to input buffer |
OnMemoryStore(object, EventArgs) |
when value is stored in calculator memory |
OnMemorySubtract(object, EventArgs) |
when specified value in calculator memory is decreased |
OnMemoryToggle(object, EventArgs) |
when memory panel is toggled (extended/shrunken) |
Methods |
Usage |
DisableAllKeys() |
disable all keys on key pad |
EnableAllKeys() |
enable all keys on key pad |
EnableValidKeys() |
enable all keys with the exception of memory keys when calculator memory is empty |
LeaveBasicKeysOn() |
disable all keys with the exception of basic keys |
LeaveMemoryKeyOn() |
disable all keys with the exception of memory toggle key |