08-06-2013, 06:14 PM
Read the full reply:
Usually when you close The form The controls on that form deinitializes, it is better to save the data in a public variable(or a private one and access it thru public methods);
private struct MyData{
public string textBox1
};
public MyData data = new MyData();
....
data.textBox1 = textBox36.Text;
....
Form1 form = new Form1();
form.ShowDialog();
this.hash_user.Text = form.data.textBox1;
public string data;
....
data= textBox36.Text;
....
Form1 form = new Form1();
form.ShowDialog();
this.hash_user.Text = form.data;

