Hi,
Lets assume there are two form1 and form2 and you have to pass the value of textbox on form1 to form2.
You can do this by two ways:
1.Using constructor.
Class Form1
{
Form2 frm2Obj = new Form2(textbox.Text);
}
2. Using Property
Class Form2
{
TextBoxValue {get; set;}
}
Class Form1
{
Form2 frmObj2 = new Form2();
Form2.TextBoxValue = textbox.Text;
}