title: Exit all forms when one close
body: <p>Hey.
  When I say close, I do not speak of the method close(), but when a user hits the close button to the window. I have multiple forms, that show and hide depending on if the user is logged in or about to log in and so on. When the user finaly close one of the forms, I want them all to just exit. Now, when a user closes a form, the program is still running because there is a form in the background hiding. </p>
  
  <p>How can I exit on close, I remember doing this in Java, thanks.</p>