C# Multithreading — Invoke without a Control

前端 未结 7 1086
闹比i
闹比i 2020-12-13 20:44

I am only somewhat familiar with multi-threading in that I\'ve read about it but have never used it in practice.

I have a project that uses a third party library tha

相关标签:
7条回答
  • Look into the AsyncOperation class. You create an instance of AsyncOperation on the thread you want to call the handler on using the AsyncOperationManager.CreateOperation method. The argument I use for Create is usually null, but you can set it to anything. To call a method on that thread, use the AsyncOperation.Post method.

    0 讨论(0)
提交回复
热议问题