I'm making my first program that is using threads...the problem is that when I click the button that I created in windows form it never goes to the button click event in the debuger!!!
I've read that that those threads should be background so i made like this
Thread sendcon = new Thread(new ParameterizedThreadStart(sending)); sendcon.IsBackground = true; sendcon.Start(SendingStream);
is there any way to make sure that the event could be done while another threads are working???