// Event
        private static void OnFormulaUpdated(string updatedFormula)
        {
            DisplayFormulaEventArgs e = new DisplayFormulaEventArgs();

            e.Formula = updatedFormula;

            EventHandler <DisplayFormulaEventArgs> handler = FormulaUpdated;

            if (handler != null)
            {
                handler(null, e);
            }
        }
Beispiel #2
0
 private void onFormulaUpdate(object sender, DisplayFormulaEventArgs e)
 {
     rtbResult.AppendText(e.Formula + "\n");
 }