private void formatContent() { RichTextBoxEx rtb = this.rtb_Summary.TextPanel; KeyFactorIndexer indexer = new KeyFactorIndexer(); foreach (string item in indexer.KeyFactors.Values) { int index = rtb.Find(item, RichTextBoxFinds.NoHighlight); if (index >= 0) { rtb.Select(index, item.Length); rtb.SelectionColor = Color.Green; } } rtb.DeselectAll(); }
public void AnalyseIndex() { _data = new DataSummary(); _richTextBox = new RichTextBoxEx(); }