Jedhi Posted March 22, 2006 Posted March 22, 2006 (edited) 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. Edited March 23, 2006 by Jedhi Quote
Leaders snarfblam Posted March 23, 2006 Leaders Posted March 23, 2006 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. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.