首页 > 其他分享 >WinForm 后台线程更新UI

WinForm 后台线程更新UI

时间:2022-08-23 07:11:35浏览次数:82  
标签:lblMsg strMsg 线程 后台 UI WinForm



string strMsg= "完成:" + fileInfoFrom.FullName + "同步";
                        this.lblMsg.Invoke(
                            new Action(() => {
                                this.lblMsg.Text = strMsg;
                                }));

 

 

 

  

标签:lblMsg,strMsg,线程,后台,UI,WinForm
From: https://www.cnblogs.com/chengeng/p/16614831.html

相关文章