WPF/C# Don't block the UI

后端 未结 6 1206
再見小時候
再見小時候 2020-12-20 03:11

I\'ve an existing WPF application, which has several sections. Every section is a UserControl, that implements an interface.

The interface specify two methods:

6条回答
  •  眼角桃花
    2020-12-20 04:04

    You have to implement a callback function (RunWorkerCompleted), this is called when the background worker finishes.

    Check out an example here: http://msdn.microsoft.com/en-us/library/cc221403(v=vs.95).aspx

提交回复
热议问题