[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:14:33 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 13:24:36.000000000 -0500
+++ shadow/80180.tmp.27581 2006-12-08 21:14:33.000000000 -0500
@@ -56,6 +56,11 @@
set {
cancel_button = value;
// Add this line
cancel_button.DialogResult = DialogResult.Cancel;
}
}
+
+------- 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.
More information about the mono-bugs
mailing list