here i have example of what i want in vb.net but i want in c # can any body help pliz
txt1.Text = "Morning"
Form2.TextBox1.Text = txt1.Text
Form2.ShowDialog()
have tried this but didnt work
//txt1 from form1
// txt2 from Form2
txt1.Text = "Morning"
Form2 frm2 = New Form2()
frm2.txt2.Text= txt1.text
frm2.ShowDialog()