摘要: 需要更新UI,则用 this.BeginInvoke this.BeginInvoke(new Action(() => { GetUserList(); })); 不需要更新UI,则可以用异步线程 Task.Run(() => GetUserList();); 1. 外部代码本身就在 UI 线程中 阅读全文
posted @ 2025-03-01 11:47 VipSoft 阅读(19) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示