Connecting Tech Pros Worldwide Forums | Help | Site Map

Closing a form

Newbie
 
Join Date: Mar 2009
Posts: 16
#1: Mar 24 '09
I'm running an application that has several subsequent forms. I'd like to be able to close the individual form without closing the app. I've included my code and would appreciate any help.

If RUS_Exit("Form Exit") Then

Me.Close()
Else
e.Cancel = True

Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#2: Mar 24 '09

re: Closing a form


As long as the form that is called in the Application.Run() statement is not closed, you can open/close any of your other forms without exiting the application
Reply

Tags
close, closing, exit, form


Similar .NET Framework bytes