There are two buttons in my little program, start and stop. And what I want is to disable the start button after I click it, and when I hit the stop button it should return to normal. How can I do this? I googled for a while and couldn’t find the answer, hope you guys can help me out.
Thanks!
There are two buttons in my little program, start and stop. And what I
Share
Use the button’s
EnableandDisablemethods in the appropriate event handlers. There’s a sample available at the link below: