Hey
I have a application with two forms: Form1 and Form2 now Form1 displays Form2, but how can I go back to Form1, I know it will not help if I create another instance of Form1.
What I have
Form1
private void button1_Click(object sender, EventArgs e)
{
Form2 FormMain = new Form2();
FormMain.Show();
this.Hide();
}
Form2
private void Form2_FormClosing(object sender, FormClosingEventArgs e)
{
Form1 Form1 = new Form1();
Form1.Show();
}
But as I said it does not work. I hate Forms...anyway that I can do this?