Link to home
Start Free TrialLog in
Avatar of pkaushal
pkaushal

asked on

How to Hide UserControl from within the control code

I have made an ActiveX control, and i have put a command button onto it, Now as the user presses the command button i want the control to get hide, and i want to do it from the code of control itself, other way is to raise the event when user presses the command button, and then he himself has to do it in click event of usercontrol which i don't want. Please tell me if there is any way. Thanx in Advance.
ASKER CERTIFIED SOLUTION
Avatar of chris_a
chris_a

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