Clickevent for an array of pictureboxes

juggernot

Well-known member
Joined
Sep 28, 2006
Messages
173
Programming Experience
Beginner
I have added pictureboxes to a form through an array. Now I want to detect when the user clicks on one of these pictureboxes. How would I do this?
 
AddHandler pb.Click, AddressOf pb_Click 'where pb is the control reference and pb_Click is the sub method handling the event.
 
Back
Top