开发者

how to make a program wait until a button is clicked

开发者 https://www.devze.com 2023-03-01 10:38 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消