I have a form with 10 buttons. I want that when I click a button, the event of the button get disable so it cant be click twice, but to get enable when click another button.
I have a form with 10 buttons. I want that when I click a button, the event of the button get disable so it cant be click twice, but to get enable when click another button.
Don't mess with the event wiring, just disable the button (and the event won't get triggered).
button.Enabled=false