예제 #1
0
 private void FTPClient_ClientLogEvent(object sender, ClientLogArgs args)
 {
     ClientLog.Dispatcher.Invoke(new Action(() =>
     {
         ClientLog.AppendText(args.Message + Environment.NewLine);
         ClientLog.Focus();
         ClientLog.CaretIndex = ClientLog.Text.Length;
         ClientLog.ScrollToEnd();
     }));
 }