public void AppendOutput(string appended = "")
 {
     TB.Inlines.Add(appended + Environment.NewLine);
     if (AlwaysLastLine.IsChecked == true)
     {
         TBParent.ScrollToBottom();
     }
 }
 public void Append(string appended = "")
 {
     TB.Text += Environment.NewLine + appended;
     if (AlwaysLastLine.IsChecked == true)
     {
         TBParent.ScrollToBottom();
     }
 }
 public void AppendError(string appended = "")
 {
     TB.Inlines.Add(new Run(appended + Environment.NewLine)
     {
         Foreground = Brushes.Red
     });
     if (AlwaysLastLine.IsChecked == true)
     {
         TBParent.ScrollToBottom();
     }
 }