What is method invoke, control.invoke?
What is invoking in general in programming
examples :
MethodInvoker getValues = new MethodInvoker(dele
“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.