Link to home
Start Free TrialLog in
Avatar of anwarmir
anwarmir

asked on

How to detect a Button is clicked in VB.net

Hi,
What I need to do is disable functionality within a particular subroutine if a certain button is clicked on the screen. I am thinking of setting a property of  a shared class or creating a global variable and setting it to true when the button is clicked. Can someone tell me the most efficient way of doing this?
Cheers
ASKER CERTIFIED SOLUTION
Avatar of Manish Chhetia
Manish Chhetia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial