what if you set it to True?

-----Original Message-----
From: Jeff Roberts [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 9:32 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Closing Event question


When my Windows Form is about to close because the X on the titlebar was clicked, then 
my Closing event gets called with a CancelEventArgs object.  How can I stop the form 
from closing at this point ?  If I set the CancelEventArgs.cancel property to false, 
then the form still closes !

thanks

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.

Reply via email to