Create a click event for a custom user control
Posted on 2007-03-27
I have created a custom user control, which consists of a panel and labels on the panel displaying different information that is returned from a query. I programmatically add this new control to a windows form. I add one new control for each record that is returned. I want the user to be able to click anywhere on my new control and have the click event triggered.
I am not sure how to handle this.
I am using vb.net visual studio 2005
Thanks for the help.