Visual Basic.NET: how to create a thread to update the UI

前端 未结 3 439
一向
一向 2020-12-10 09:43

The usual VB way to handle a computationally heavy task is to put it in a background worker thread, while the main thread keeps handling the UI.

Say for whatever rea

3条回答
  •  情话喂你
    2020-12-10 10:20

    The UI can't be updated from any other thread than the main event dispatching thread. So you are trying to do something that won't work.

提交回复
热议问题