Hi,
How can I handle the event where the user control is clicked when I'm creating the control at runtime?
I have it partially working using the AddHandler method, but it only works if I click the background area of the control is clicked, and won't work if I click say a label on that control. Is it possible to have it work so that this event is called no matter where I click inside the control?
How can I handle the event where the user control is clicked when I'm creating the control at runtime?
I have it partially working using the AddHandler method, but it only works if I click the background area of the control is clicked, and won't work if I click say a label on that control. Is it possible to have it work so that this event is called no matter where I click inside the control?
Last edited: