| |
|
|
 |
|
CalcQuick Class | Description | Source |
| CalcQuick | CalcQuick is the simplest way to incorporate calculation support into your code. You can create an instance of it, then you can assign variables just by using an indexer on your instance. You can parse and compute formulas based on these variables by calling a single method on your CalcQuick object.
Here is code that lets you type expressions like SIN(45) * SQRT(2) into a TextBox and see the calculated results in a label. |  |  |
| CalcQuick with variables | You can also register variables with a CalcQuick object. Then you can use these variables within CalcQuick formulas.
|  |  |
| CalcQuick with RegisterControlArray | If you have a series of TextBoxes and ComboBoxes among whose values you want to define algebraic formulas, then you can use CalcQuick.RegisterControlArray to manage this. Here is some snippets. The numbers refer to these comments.
1) Ensures that variable names are set as desired.
2) Sets the initial text into the first three text boxes.
3) Instantiates the CalcQuick instance.
4) Calls the RegisterControlArray method. In this method, the CalcQuick object will handle all the event code th |  |  |
ICalcData Interface | Description | Source |
| ICalcData spreadsheet | ICalcData is an interface that allows Essential Calculate to communicate with arbitrary data sources that implement this interface. The interface has 3 methods and one event.
|  |  |
|
|
|
|
|