Пример #1
0
        private void Parse(string p)
        {
            int error = Regex.Matches(p, @"[a-zA-Z]").Count;

            if (error > 0)
            {
                rtb = new RichTextBox();
                var flowdoc = Joint_FlowDocument(p);
                rtb.Document = flowdoc;
                FlowDocumentExtensions.GetFormattedText(this.rtb.Document, this);
            }
        }
Пример #2
0
 private bool GetFlowDocStyle()
 {
     return(FlowDocumentExtensions.GetFormattedText(this.rtb.Document, this));
 }