Exemple #1
0
 public void AddSymbolToText(TextBox textbox, string symbol)
 {
     if (textbox != null)
     {
         textbox.Text = ExpressionEditor.AddSymbol(textbox.Text, symbol);
     }
 }
Exemple #2
0
 public void DeleteLastSymbol(TextBox textbox)
 {
     if (textbox != null)
     {
         var exp = new Expression(textbox.Text);
         ExpressionEditor.DeleteLastSymbol(exp);
         textbox.Text = exp.Text;
     }
 }