I encounter a problem with a Windows Forms application.
A form must be displayed from another thread. So in the form class, I have the following code:
Most likely the handle of the control is not created yet, in which case Control.InvokeRequired returns false.
Control.InvokeRequired
false
Check the Control.IsHandleCreated property to see if this is the case.
Control.IsHandleCreated