[Mono-bugs] [Bug 80180][Nor] Changed - Clicking a button that was assigned to CancelButton does not close the form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Dec 8 21:18:49 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by toshok at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80180

--- shadow/80180	2006-12-08 21:14:33.000000000 -0500
+++ shadow/80180.tmp.27653	2006-12-08 21:18:49.000000000 -0500
@@ -61,6 +61,10 @@
 		}
 
 ------- Additional Comments From toshok at ximian.com  2006-12-08 21:14 -------
 windows doesn't operate this way - the DialogResult of a button after
 you set "Form.CancelButton = button" does not change to
 DialogResult.Cancel.
+
+------- Additional Comments From toshok at ximian.com  2006-12-08 21:18 -------
+ah, I stand corrected.  It does set it to DialogResult.Cancel if it is
+currently set to DialogResult.None.  fix coming.


More information about the mono-bugs mailing list