what is invoking?

前端 未结 1 1524
无人共我
无人共我 2021-01-08 00:17

What is method invoke, control.invoke?

What is invoking in general in programming

examples :

MethodInvoker getValues = new MethodInvoker(dele         


        
相关标签:
1条回答
  • 2021-01-08 00:43

    “Invoking” refers to calling a method.

    In winforms Control.Invoke is used to call a method on the UI thread — without it you can cause an exception by updating the UI from another thread.

    And so if InvokeRequires returns true it means that you are not running in the UI thread and should use Control.Invoke to run the call in the right thread.

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