Interface ICalculatorButtonParent
This interface can be implemented by classes that want to act as the parent for this calculator engine.
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public interface ICalculatorButtonParent
Remarks
The Calculator Control implements this interface to get notifications from the Calculator Engine when there is a change in the state of the Calculator Engine.
Methods
ButtonAction(CalcActions)
The Calculator Buttons will use this method to call back a click action and pass in their CalcActions type action property.
Declaration
void ButtonAction(CalcActions action)
Parameters
Type | Name | Description |
---|---|---|
CalcActions | action | The action that is to be performed. |
HandleChildKeyDown(KeyEventArgs)
This handler will be invoked by the buttons each time a button has the focus and the KeyDown event is raised. This will be used by the parent Container Control to process keyboard shortcuts.
Declaration
void HandleChildKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.KeyEventArgs | e | The KeyEventArgs defining the KeyDown event. |