protected virtual void OnLineRemoved(TextLogLineEventArgs args) { if (LineRemoved != null) { LineRemoved(this, args); } }
private void ConsoleManager_LineWritten(object sender, TextLogLineEventArgs e) { foreach (RichTextSection section in e.TextLogLine.Sections) { section.Font = Font; } messageLog.WriteLine(e.TextLogLine); }