I have form 1 with next button and form 2 with previous button. I was on form 2 then went back to form 1 using the previous button, but when I click the next button from form 1, my data on form 2 is gone. How do I keep that data?
This my code:
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
staticVar = this;
Form2 form2 = new Form2();
form2.Show();
this.Hide();
}