我有一个用 C# 和 .NET 3.5 编写的 WinForms 应用程序。它运行一个漫长的批处理过程。我希望应用程序更新批处理过程的状态。更新 UI 的最佳方式是什么?
最佳答案
BackgroundWorker 听起来像您想要的对象。
关于c# - 在 WinForm 应用程序中进行批处理时,如何让 UI 线程更新 UI?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/106036/
我有一个用 C# 和 .NET 3.5 编写的 WinForms 应用程序。它运行一个漫长的批处理过程。我希望应用程序更新批处理过程的状态。更新 UI 的最佳方式是什么?
最佳答案
BackgroundWorker 听起来像您想要的对象。
关于c# - 在 WinForm 应用程序中进行批处理时,如何让 UI 线程更新 UI?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/106036/