Class ButtonCalc
Owner-drawn calculator button: paints itself as a labelled ellipse, tracks selection
state and hit-testing, and carries the ScreenKeyboard.Command it triggers.
Assembly: Reportman.Drawing.Forms.dll
Constructors
View Source
Declaration
public ButtonCalc(Control MControl, Font font, int x, int y, int width, int height, int margin, string capString, Color capColor, ScreenKeyboard.Command cmd)
Parameters
Properties
View Source
Declaration
public ScreenKeyboard.Command Cmd { get; }
Property Value
View Source
Declaration
public bool IsSelected { get; set; }
Property Value
View Source
Declaration
public bool IsTall { get; set; }
Property Value
Methods
View Source
Declaration
public bool IsHit(int x, int y)
Parameters
| Type |
Name |
Description |
| int |
x |
|
| int |
y |
|
Returns
View Source
Declaration
public void Render(Graphics graphics)
Parameters