I have a previously selfcreated user-control which contains a picturebox and
some additional code, also included is a method that changes the displayed
Image in the Picturebox
on Clicking. This works fine so far. Now I place this user control on a new
form and i want it
to fire a Click-Event on my form when a user clicks it. The Image in the
Pictuebox changes on clicking but the Eventhandler on my form doesnt fire
anything on clicking! I need a possibility for the users of my
user control to write their own code for a click-event on that control.
I read something about user controls being special with events but i dont
get to the point yet...
Thanks in advance for your help,
Jan
|