Eventhandler <>

Jedhi

Centurion
Joined
Oct 2, 2003
Messages
127
I have a problem with eventhandler, to be more exactly it is in my form where I get the AddNodeEvent. If the thread is not right I want to invoke the function again so that I get it right, but when it try to invoke it make a cast.
 
Last edited:
What exactly is the problem? Do you need a way to detect if you are on the right thread? If so and you are using .Net 2.0, there is a InvokeRequired function that tells you. I don't understand what you are saying about a cast.
 
Back
Top