Invoke

Invoke((MethodInvoker)(() => { txtMsg.Text += $"请求处理完成终端:{reponse?.terminal},时间:{ DateTime.Now.ToString()} "; }));

原文地址:https://www.cnblogs.com/CocoWang/p/11848501.html