private void OnEquationFormatRequested(object sender, MathRichEditBoxFormatRequest e) { if (!string.IsNullOrEmpty(e.OriginalText)) { e.FormattedText = GraphingControl.FormatMathML(e.OriginalText); } }
private void EquationTextBox_EquationFormatRequested(object sender, MathRichEditBoxFormatRequest e) { EquationFormatRequested?.Invoke(sender, e); }