jmofthenorth
Technical User
Hi,
I'm relatively new to programming and I have a pretty basic question that needs answering. I have a windows form that has two buttons. When the user presses one button code executes in a long while loop. I would like to allow the user to exit the while loop by pressing the other button, however as I have it set up now, the code executing on the event of the first button press (aka the while loop) prevents the user from selecting the other button. Do I need to use threading to do that? Any help would be greatly appreciated.
Jesse
I'm relatively new to programming and I have a pretty basic question that needs answering. I have a windows form that has two buttons. When the user presses one button code executes in a long while loop. I would like to allow the user to exit the while loop by pressing the other button, however as I have it set up now, the code executing on the event of the first button press (aka the while loop) prevents the user from selecting the other button. Do I need to use threading to do that? Any help would be greatly appreciated.
Jesse