BlackStone Posted January 2, 2005 Posted January 2, 2005 I have a windows app, and at one point in the code, if a condition is met, the application exits. However, I found that this was not the case, and noticed that Application.AllowQuit was set to false. What could be causing this? Quote "For every complex problem, there is a solution that is simple, neat, and wrong." - H. L. Mencken
DavidTruax Posted July 7, 2005 Posted July 7, 2005 The only time I have seen Application.AllowQuit equal false is during form construction. If you handle the Load event on the form, you will see that the AllowQuit property is true and System.Windows.Forms.Application.Close() behaves how you might expect it to. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.