hi everyone!!! need some help here, im having a hard time in passing an image to another form, i have two forms (form1 i have a picturebox, in form 2 i have a combobox, a picture box and a button), when i select from my combobox a picture will be displayed in the picturebox then when i terminate my form2, what i want to happen is to display in form1 picturebox what was displayed in my form2 picturebox. please help me...
sjn21682
0
Newbie Poster
Recommended Answers
Jump to PostAre you opening Form2 from Form1? Is Form2 opened modally (ShowDialog())?
If you aren't showing it modally then check out my tutorial for accessing controls across forms
If you are showing it modally then you can add a public property to Form2 that returns the image and …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.