Example #1
0
 private void Es_NewOperatorDiscovered(object sender, string e)
 {
     if (Operator.FromName(e).VaribleCount > 1)
     {
         if (neednum)
         {
             if (history == "")
             {
                 history += ResultProvider().ToString() + " ";
             }
         }
         else
         {
             history += string.Format("{0} {1} ", op, num);
         }
         op = e;
         if (ExpressionChanged != null)
         {
             ExpressionChanged(this, Current);
         }
     }
     neednum = true;
 }
Example #2
0
        private void Es_NewOperatorDiscovered(object sender, string e)
        {
            Operator op = Operator.FromName(e);

            calc.WriteOperator(op);
        }