https://bugzilla.novell.com/show_bug.cgi?id=383462
Summary: DateTimePicker fails if entering year by keyboard
Product: Mono: Class Libraries
Version: unspecified
Platform: i586
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
CC: [EMAIL PROTECTED]
Found By: ---
Version 1.9.1
In the DateTimePicker, the year is checked for validity every time a key is
pressed in the year portion. Example, if you want to enter the year "1994", the
year "1" is checked for validation after you press it. So it fails.
To reproduce:
1. Add a DateTimePicker to a form
2. Set CustomFormat = "yyyy-MM-dd HH:mm:ss";
3. Run
4. Select the year string with the mouse and try to type in a new date
Result:
Exception is raised. Program closes.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs