Thomas

Thomas

  • NA
  • 111
  • 0

selectable image? (updated with new question)

Mar 26 2012 1:36 PM
I open to alternate suggestions if anyone has a better idea.

I am creating a win form to allow users to add files that they want to attach to an auto generated email. I'd LIKE the form to add an icon with the file name under it when they add a file. I'd also like to allow them to 'select' the icon and click a delete button when I'm done.

I figure if I can find a way to display a selectable image I should be able to dynamically create the icons and labels. Then If they want to delete one they can select the image and I can use the name of that dynamically created image to remove the file from the list. Then when they are done I'll build and return (to the main form) the array with the files to be added to the email.

What object can I use to create a selectable image? I know Picturebox is not selectable at all.

Answers (2)