|
|
CalcQuick simple
The CalcQuick class in Essential Calculate gives you easy way to add calculation support to your objects.
|
|
|
|
A single command can add calculation support to a whole collection of TextBox and ComboBox controls.
Form with three TextBoxes
Here is code that sets up the above form. It allows you to enter a value in one textbox, and automatically display computed values based on the entry in the other two TextBoxes.
Code that generated above form
|
|
|
|
You can use CalcQuick to add calculation support to just about anything. You just register the values/formulas using an indexer on the CalcQuick object. Then the act of retrieving the value through the CalcQuick indexing triggers the calculation.
No controls necessary
|
|
|
|
Properties let you control whether changes to values being tracked by a CalcEngine object automatically trigger dependent calculations. Turning off this auto-calculation support lets you quickly change many values, and then only do the calculation when all updating is completed.
|
|
|
|
|
|
|