Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (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 by Jedhi
  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...