protected void InvokeOnUIThread(
Action callback
)Protected Sub InvokeOnUIThread (
callback As Action
)protected:
void InvokeOnUIThread(
Action^ callback
)member InvokeOnUIThread :
callback : Action -> unit This method is similar as using InvokeRequired and Invoke(Delegate) together, but it works even when the handle is not created yet, in which case InvokeRequired returns .
The callback is invoked only if Disposing and IsDisposed properties return .