Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I made a secondary form named Form2 for my application in which the user can specify a Picture, Color and Text.

Now, on this Form2, after the user presses OK button, I want to send the the particulars to Form 1 and open it up.
For eg: If the user sets the color=Red, Picture=Img.gif, Text=Hi on Form2,
then the TextBox on Form1 should display Hi in red color and a picture in the PicBox in Form1.

How is the data sent form one form to another?
Posted

Have a look here[^] or here[^].
 
Share this answer
 
you can, try this ->

Click
 
Share this answer
 
Comments
Toli Cuturicu 3-Oct-10 15:35pm    
Windows.Forms, not ASP.NET

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900