CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

pass an image from form 2 to form1 topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2010, 12:33 AM
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sjn21682 is on a distinguished road
| More
pass an image from form 2 to form1

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...
Reply With Quote
  #2  
Old 09-08-2010, 01:16 AM
shabbir's Avatar
Administrator
 
Join Date: Sep 2006
Posts: 1,159
Thanks: 48
Thanked 62 Times in 43 Posts
shabbir has a spectacular aura aboutshabbir has a spectacular aura about
| More
Re: pass an image from form 2 to form1

Set a variable in form2 which can store the URL of the image and then show it in picture box when it gets focused from form1
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
show/create form from variable Rhuntsman21 C# Programming 0 09-07-2010 07:32 PM
fill in website form using shell scripting dalacib Shell Scripting 0 09-05-2010 02:49 PM
draw png image sachin jesukaran Win32 Programming 0 02-04-2009 02:00 AM
Exiting a form and gooding to the next by means of a button hamhallan C# Programming 1 04-10-2008 09:19 AM
Exiting a form and going to the next using a button hamhallan C# Programming 0 04-09-2008 11:18 AM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 04:05 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board