I have a C# application which makes use of different forms. I know how to switch between forms using the following example:
{
Form1 login;
login = new Form1();
login.Show();
this.Hide();
}
One of my forms contains a web-browser. How do I switch between the web-browser form and another form without having to close the web-browser so that the session on the web-page is not closed?
I have tried simply hiding the form, but I do not know how to open it again without having to use the above mentioned code.
Please help!