Apparently, hiding the form then loading the next form and closing the hidden form exits the whole application. This is the information that is displayed in the debug window.
'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'WinApp': Loaded 'C:\Documents and Settings\Administrator\My Documents\WinApp\WinApp\bin\WinApp.exe', Symbols loaded.
'WinApp.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
'WinApp.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded.
'WinApp.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
'WinApp.exe': Loaded 'c:\windows\assembly\gac\microsoft.visualbasic\7.0.5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll', No symbols loaded.
The program '[2404] WinApp.exe' has exited with code 0 (0x0).
Could someone please explain to me what the error might be.