StandardDisplay - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: UserControlClassLibrary
Extends: UserControl
Implements: ICalculatorDisplay
Description: Basic calculator/converter output display.
Constructors | Usage |
---|---|
StandardDisplay() | Initializes an instance of StandardDisplay class |
Properties | Usage |
---|---|
RecentValue<decimal> | get most recently displayed calculation result |
Expression<string> | get expression stored in calculator |
Input<string> | get content in calculator input buffer |
Methods | Usage |
---|---|
Clear() | clear all displayed content |
DisplayError(string) | display error message |
DisplayExpression(string, IFormatter) | display expression stored in calculator |
DisplayResult(string, IFormatter) | display calculation result |
RefreshDisplay(IFormatter) | refresh display |