|
-
January 12th, 2009, 07:20 AM
#1
Application.Exit() Doesn't close.
Hey,
I've got a problem when I try to close an application.
I've got several forms and when the application loads, it creates a form like:
form2 frm2 = new form2();
Inside form2 there is a db connection. When the connection is not valid, it returns a messagebox and after that Application.Exit();
But it doesnt exit. It continuous loading Form1. Does anyone know what I am doing wrong?
Thankyou very much,
Abadi
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|