Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Make pictureboxes/bitmaps on form selectable
Warre De Mey
Sep 6 2013 9:56 AM
1.5k
Reply
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?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to conditionally disable and enable multiple buttons
Groupby on Datatable with distinct count