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