[Mono-bugs] [Bug 81508][Wis] Changed - DateTimePicker will cause an NullReferenceException if it is not parented in a form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 1 13:15:08 EDT 2007


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 tausq at debian.org.

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

--- shadow/81508	2007-05-01 13:13:32.000000000 -0400
+++ shadow/81508.tmp.18395	2007-05-01 13:15:08.000000000 -0400
@@ -45,6 +45,11 @@
 control's Parent is null.
 
 In this case, at the end of CalculateDropDownLocation(), the logic to
 adjust the location of the drop down calendar based on the parent form
 generates the null reference. A simple null check before the
 PointToClient() call will fix the problem.
+
+------- Additional Comments From tausq at debian.org  2007-05-01 13:15 -------
+Created an attachment (id=19167)
+Test case
+


More information about the mono-bugs mailing list