后台线程调用前台页面上的内容:windows Form

it2022-05-05  110

BackgroundThreadFunction()

{

   Invoke(new ShowMessage(Show), strAccount, e.Message);

}

 

private delegate void ShowMessage(string strAccount, string Exception);

private void Show(string strAccount, string Exception)         {             lblInfo.Text = "获取" + strAccount;             lblException.Text =strAccount +  " " + Exception;         }

转载于:https://www.cnblogs.com/binaryworms/archive/2012/07/26/2609546.html

相关资源:各显卡算力对照表!

最新回复(0)