i dont know but i think i cant chagne value of Control in function of thread :( how can i do this ?
i need this for socket programming in clr window application and you know i cant put my code in while ( true ) without thread because if i do it my program be lock :(
There's no other way. Windows programming demands that you only control a user interface element from the thread that created it. You must use BeginInvoke() so your worker thread doesn't have to wait for the UI thread to process the request in order to get back to work.