Need help to implement multithreading in C#

后端 未结 5 1015
鱼传尺愫
鱼传尺愫 2021-01-25 13:07

I am making an app in which for some reason when I click on a button I have to initiate a new form and at the same time create a new document in the google docs. I\'ve successfu

5条回答
  •  执念已碎
    2021-01-25 13:42

    Simplest ways are to use BackgroundWorker or to use the ThreadPool. Threadpool is simpler if your main UI doesn't care when the other tasks are finished.

提交回复
热议问题