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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.