I'm sure he is not saying he never wants the app to close with the x. One good example is a doc that is not saved, you ask the user if they want to save when they hit the close button but the user chooses cancel via the MessageBox. (perhaps they were not done editing and hit the close button accidentally). This is a good example of wanting to cancel the close.
Reggie > -----Original Message----- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > franklin gray > Sent: Friday, May 24, 2002 9:59 AM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Closing Event question > > The question I have to ask is why? Apps that ask a user if he is sure he > wishes to close when closing is old-out of date practice. If you don't > want the user to be able to close from the X, the remove it. I'm sure you > have a good reason so I ask....call me curious George. > > -----Original Message----- > From: Jeff Roberts [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 9:51 AM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Closing Event question > > > yes setting it to true stops the form from closing ! > > thank you > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.