示例#1
0
 private void toConsoleSend(string s)
 {
     this.Dispatcher.Invoke((Action)(() =>
     {
         ConsoleSend.Text += s;
         ConsoleSend.Text += "\r\n";
         ConsoleSend.ScrollToEnd();
     }));
 }
示例#2
0
 private void ClearAllConsoleSend(object sender, RoutedEventArgs e)
 {
     ConsoleSend.Clear();
 }