I have a message box with the YesNoCancel buttons...
- Pressing
Yeswill do some action and close the application - works fine - Pressing
Nowill do nothing and close the application - (see below) - Pressing
Cancelwill do nothing and keep the application open - (see below).
I'm using DialogResult.No for the No button and DialogResult.Cancel for the Cancel button. But pressing either of them triggers DialogResult.Cancel event. What's the problem?