I know users are required to wait for the handle of a control to be created
before calling Invoke. But what about when a control is disposed?
I used a delegate, attached to my control's HandleDestroyed event, to signal
that I shouldn't call Invoke anymore but I still get an
ObjectDisposedException.
So what signals when Invoke shouldn't be called?
Rant: From the MS help documentation for Control's method Invoke, "If no
appropriate handle can be found, the Invoke method will throw an
exception.". Why does this not tell me exactly what exception(s) will be
thrown? Does anyone know all the different types of exceptions that will be
thrown?
Thanks much.