ICalculatorPressButton Method

Simulates pressing a button on the calculator.

Definition

Namespace: ClassicCalculator
Assembly: ClassicCalculator (in ClassicCalculator.dll) Version: 1.0.0+5cef018da377eef51dd690d3240ce68b7f7e05df
C#
void PressButton(
	CalculatorButton button
)

Parameters

button  CalculatorButton
The button to be pressed.

Example

C#
calculator.PressButton(CalculatorButton.One);

See Also