Backgroundworker won't report progress

前端 未结 6 979
情书的邮戳
情书的邮戳 2020-12-01 09:21

I have a background worker running a long database task. i want to show the progress bar while the task is running. Somehow the background worker won\'t report the progres

6条回答
  •  遥遥无期
    2020-12-01 10:17

    You have to manualy call ReportProgress() to raise the ProgressChanged event.

提交回复
热议问题