how to make a program wait until a button is clicked
How to make a program wait until a button is clicked by the user.
I want to stop my sequence of codes (statements) until a b开发者_开发技巧utton is clicked by the user.
how can I go this ?
Whatever it is that you want to happen after the button is clicked, just put that code in the handler for the button-click event. To get to that handler, double click on the button in the designer.
精彩评论