closing a form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bill

    closing a form

    I have 2 windows forms
    How can I close one of them.

    nothing seems to work


    thanks

  • Phillip Blanton

    #2
    closing a form

    [color=blue]
    >-----Original Message-----
    >I have 2 windows forms
    >How can I close one of them.
    >
    >nothing seems to work[/color]

    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]

    Comment

    Working...