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