Calculator

Derives from Control

The Calculator is a control used for performing mathematical calculations.

calculator.jpg

Features

  • Basic Math Functions
  • Memory Operations
    • Clear
    • Store
    • Recall
    • Add (M+)
    • Subract (M-)
  • Mouse and Keyboard support

Properties

Property Description
CalculatorButtonType Gets or sets the type of the calculator button (Add, Equal, Five, Six, Percent, ...). By default, None.
DisplayText Gets or sets the text displayed in the view port.
EnterClosesCalculator Gets or sets a value indicating whether the Enter keyboard button closes the calculator when pressed.
Memory Gets or sets the numeric value stored in memory
Precision Gets or sets the maximum number of digits displayed to the right of the decimal point.
Value Gets or sets the numeric value.

Events

Event Description
ValueChanged Raised when the Value changes.


Support this project, check out the Plus Edition.
---

Last edited Jun 9 at 6:27 PM by dlafontaine, version 16

Comments

CodeSrbin Jul 15, 2011 at 1:31 PM 
Thank you, nice job.My question is can i override your calculator control to look like windows 7 calculator control with upper label?