Hi friends,
I want to send a link which is stored in a string variable to another form. please tell me how can i code it.
Passing value between form in windows form
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

SenthilkumarRank #387 · 6.5K reputationPosted Mar 12, 2012, 12:47 AM EDT
You can send the value as arqument.
Form2 frm2 = new Form2(this.textBox1InForm1.Text);
frm2.ShowDialog();
In the form2, you need to write the constructor.
public Form2(string strParam)
{
InitializeComponent();
this.textBox1_InForm2.Text=strParam;
}
Please refer these link.
http://www.c-sharpcorner.com/UploadFile/thiagu304/passdata05172006234318PM/passdata.aspx
http://www.c-sharpcorner.com/UploadFile/alindag/HowToPassValuesBetweenWindowsForms.htm02242006061520AM/HowToPassValuesBetweenWindowsForms.htm.aspx
If it is useful then mark it as Accept answer.
Zeb Rehman68 reputationPosted Mar 12, 2012, 1:56 AM EDT