Make pictureboxes/bitmaps on form selectable
I'm using an arraylist of bitmaps and I loop through them, adding them all to a picturebox and adding those to a panel on my form. Now I would like to be able to select one of those pictureboxes/bitmaps and then do some things with the selected image after clicking a button. Do I just add an eventhandler to my pictureboxes when looping through them? Because I don't know how I can pass the parameters to the method called by the eventhandler. There can only be 1 picturebox selected and is there a way to make clear which one is the selected one?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Pavan RamamurthyRank #1,682 · 906 reputationPosted Sep 6, 2013, 6:17 AM EDT
Warre De Mey4 reputationPosted Sep 8, 2013, 5:41 AM EDT