1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Send data from one Win form to another

Discussion in 'C#' started by optimus1, Oct 3, 2010.

  1. optimus1

    optimus1 New Member

    Joined:
    Oct 3, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  2. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    17
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:

Share This Page