My program hangs after a button is clicked
I am having trouble when my button is clicked, lets say it is a button which executes a function. I want the function to run only once when the button is clicked. When I click the button in my program now it runs the function then hangs and stop responding, I cant move it, minimize, close, etc. How do I prevent this?
Levi PerryPosted Mar 10, 2016, 6:15 AM
vipin kvPosted Mar 10, 2016, 5:35 AM
Rajeev PunhaniPosted Mar 9, 2016, 11:28 PM
Hi Levi,
Please see the link for example.
If the above solution is helpful then,accept the answer.
Saillesh PawarPosted Mar 9, 2016, 11:21 PM
Levi PerryPosted Mar 9, 2016, 3:05 PM
Saillesh PawarPosted Mar 9, 2016, 11:06 AM
http://www.dotnetperls.com/parameterizedthreadstart
Levi PerryPosted Mar 9, 2016, 10:53 AM
Saillesh PawarPosted Mar 9, 2016, 10:09 AM