CurrencyConverterDisplay - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki

Namespace: UserControlClassLibrary
Extends: ConverterDisplay

Description: Currency converter output display.

Constructors Usage
CurrencyConverterDisplay(ICurrencyCodeConverter) Initializes an instance of CurrencyConverterDisplay class with injected service
Events Usage
OnUnitChange(object, EventArgs) (inherited) when currency unit in drop-down list is changed
Properties Usage
InputUnit<string> (overridden) current currency unit to be converted
InputValue<string> (inherited) value in current currency unit
MainOutputUnit<string> (overridden) target currency unit for conversion
MainOutputValue<string> (inherited) value after conversion
ExtraOutputLabels<Label[]> (inherited) label control holding extra conversion results
Methods Usage
Clear() (inherited) clear all displayed content
PopulateOptions(string[]) (overridden) populate drop-down list with all supported currency unit
DisplayInput(string, IFormatter) (overridden) display user input
DisplayMainOutput(string, IFormatter) (overridden) display conversion result
DisplayExtraOutputs(Tuple<string, string>[], IFormatter) (overridden) display additional conversion results if applicable
⚠️ **GitHub.com Fallback** ⚠️