更新时间:2023-01-13 08:27:27
您需要创建BackgroundWorker.ReportProgress事件的实例.然后使用该方法更新进度条.
You need to create an instance of the BackgroundWorker.ReportProgress event. Then update the progress bar in that method.
BackgroundWorker.ReportProgress += new ReportProgressEventHandler()....
(语法可能不正确,但是您了解了)
(Syntax is probably incorrect, but you get the idea)