This example illustrates how to use RichEditControl in a "Log Viewer"-like application.
First, adjust the default view settings in the form's constructor and default document settings in the RichEditControl.DocumentLoaded / RichEditControl.EmptyDocumentCreated event handlers, correspondingly.
Then, use the SubDocument.AppendText method to append a new message to the RichEditControl.
- Form1.cs (VB: Form1.vb)
- Program.cs (VB: Program.vb)