Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi, all

 

I have 5 pictureboxes. Using Doubleclick I can change image (System.Drawing.Bitmap.FromFile(OpenFileDialog1.FileName)).

 

But when I press "save" button I need to get all image names from those PictureBoxes.

 

Please help me, How can I get Image name from PictureBox ?

 

Thanks,

Erdenemandal

Posted
Save the filename in the PictureBox's Tag property when you load it. When you want to save it just grab the filename from the Tag property.

 

Good Idea. Thanks a lot. My problem has solved

 

Thanks,

Erdenemandal :p

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...