views:

87

answers:

1

after entering some text in textbox control (C# window application)and pressing button it will raise two events one is button click and another is my application defined event. im not able to catch the event. and im getting this error. how to solve this ... pls help..

+2  A: 

Take a look at this thread. I hope it helps you out:

http://stackoverflow.com/questions/142003/cross-thread-operation-not-valid-control-accessed-from-a-thread-other-than-the-t

MUG4N
can u breifly explain me..
manoj
I hope a short and simple tutorial will also do:http://www.codeproject.com/KB/cs/GenericCrossThread.aspx
MUG4N