public RichEditOle(MyExtRichTextBox richEdit) { this._richEdit=richEdit; }
private void appendText(string str) { MyExtRichTextBox rich = new MyExtRichTextBox(); rich.AppendText("\n"); //rich.InsertImage(FormAccess.imageInformation); rich.AppendText(" " + str); rich.ForeColor = Color.Brown; this.RTBRecord.AppendRtf(rich.Rtf); rich.Clear(); rich.Dispose(); this.RTBRecord.AppendText(" "); }