closing a form

  • Thread starter Thread starter bill
  • Start date Start date
-----Original Message-----
I have 2 windows forms
How can I close one of them.

nothing seems to work

Your question is kind of vague. Do you want to know how
to close them in the Visual Studio IDE? or
programatically? or via the OS?

If you want to close a form in the IDE, then press the
little "X" in the top right corner of the editor window,
when the form is open.

If you want to close a form programatically...
Close();

If you want to close a form from the OS, select the form
and press [ctrl] + [F4]
 
Back
Top