I have two forms on my application. Calling the Form2 is a no brainer with Form2.Show(); but I need to close Form1 while maintaninig its data in memory. How can i achieve this
If you close a form all its "data" or objects are released. You can hide the
form and still access the data/objects on the form by passing a reference of
it to the second form. eg
in frmForm1:
frmForm2 Form2 = new frmForm2(this);
Form2.Show();