MemoryPanel - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki

Namespace: UserControlClassLibrary
Extends: ItemDisplayPanel<decimal>
Implements: IMemoryItemDisplay

Description: Displays all available memory items.

Constructors Usage
MemoryPanel() Initializes an instance of MemoryPanel class
MemoryPanel(IFormatter) Initializes an instance of MemoryPanel class with injected services
Events Usage
OnExtended(object, EventArgs) (inherited) when panel is fully extended
OnMemoryDelete(object, EventArgs) when memory item is deleted
OnMemoryMinus(object, EventArgs) when subtracting from memory value
OnMemoryPlus(object, EventArgs) when adding to memory value
OnMemorySelect(object, EventArgs) when memory item is selected
OnShrunken(object, EventArgs) (inherited) when panel is fully shrunken
OnClear(object, EventArgs) (inherited) when items on panel are cleared
Properties Usage
ItemPointer<int> (inherited) current focused item on panel
Items<T[]> (inherited) all items on panel
Methods Usage
ClearItems() clear all items on panel
ClearMessage() (inherited) clear text message on panel
Extend(int) (inherited) extend panel to target height
RefreshItems(decimal[]) refresh panel items
ResetPointer() (inherited) reset pointer back to 0
ScrollPanel(object, MouseEventArgs) (inherited) scroll panel up/down
Shrink() (inherited) shrink panel
ShowItems(decimal[]) display items on panel
ShowMessage(string) (inherited) display text message on panel
⚠️ **GitHub.com Fallback** ⚠️