Example. A simple application calculates the square root in the symbolic form
Create a simple demonstration WinForm application. It is application will calculate the square root of the values ????entered by the user.
to start, create an empty WinForm project and put the components Math Expression Editor Light (MEEL), and a button.
Create the handler for clicking "Calc"
// get selected math expression
IExpression expression = this.mathControl2.Expression as IExpression;
if (expression == null)
// get symbolic square root
IExpression sqrtExpr = new Sqrt(expression);
IExpression result = sqrtExpr.Execute();
// send MessageBox
Here's what happened in the end:
Video running application can see here.