Consider the situation where I have two windows forms, say F1 and F2. After using F1, I have now called F2.ShowDialog().
May be I am late. but all those who may want.
In destination form have a constructor defined like this
public partial class Destination: Form
{
string valueAccepted;
public Destination(string _valuePassed)
{
InitializeComponent();
this.valueAccepted= _valuePassed;
}
}
and in Source Form call the form like this
Source sourceForm= new Source ("value Passed");
sourceForm.ShowDialog();
this way "value Passed" is passed from Form Source to Form Destination