public static void AppendMsg(this System.Windows.Controls.RichTextBox box, string text) { box.Write(text + "\n", ColorCode.MSG); }
public static void AppendError(this System.Windows.Controls.RichTextBox box, string text) { box.Write("ERROR: " + text + "\n", ColorCode.ERROR); }
public static void Append(this System.Windows.Controls.RichTextBox box, string text, SolidColorBrush color) { box.Write(text + "\n", color); }