/// <summary> /// Gibt einen String in der Textbox aus, ohne anschließer neuer Zeile /// </summary> /// <param name="output"></param> public void Output(String output) { Dispatcher.BeginInvoke(new Action(() => Network_Callmanager_Analysis_Output.AppendText(output))); Dispatcher.BeginInvoke(new Action(() => Network_Callmanager_Analysis_Output.ScrollToEnd())); }
/// <summary> /// Löscht den Output /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Network_Callmanager_Analysis_Output_Clear_Click(object sender, RoutedEventArgs e) { Network_Callmanager_Analysis_Output.Clear(); }
/// <summary> /// Gibt einen String in der TextBox aus, mit anschließender neuer Zeile für neue Einträge /// </summary /// <param name="output"></param> public void OutputLine(String output) { Dispatcher.BeginInvoke(new Action(() => Network_Callmanager_Analysis_Output.AppendText(output + System.Environment.NewLine))); Dispatcher.BeginInvoke(new Action(() => Network_Callmanager_Analysis_Output.ScrollToEnd())); }