If I set the AcceptButton to a button whose DialogResult is set to None,
pressing that button does not automatically close the form.

However, if I set the CancelButton to a button whose DialogResult is set
to None, pressing the button *does* automatically close the form and I
don't see any way to halt this process, even if I've got an event
handler for that button. Why is that?

Chris Sells
http://www.sellsbrothers.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