0

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???

Edited by kadamora: n/a

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by kadamora
0

it was my mistake...thanks for help but i was doing something wrong which had nothing to do with threading

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.