That's simply because you have not implemented a method called
Invoke
. I guess that is intentional as you seem to think your class
client
inherits
Control
which has a method called Invoke.
So you'll have to either implement
Invoke
yourself or inherit from
Control[
^].
The same goes for
Form1.client.InvokeRequired