[Mono-winforms-list] DateTimePicker : code offered (again)

Peter Dennis Bartok peter@novonyx.com
Sun, 23 Jan 2005 23:58:26 -0700


Mark,

I apologize. Your original message slipped through.

I've looked in the zip file, and it seems that the control is based on 
Microsoft's code and it includes a license from Microsoft which requires, 
amongst other things, to include the license in any distribution in it's 
original form. I have to check with smarter people if we can include this 
into MWF, since the license as a few requirements, and does not look like 
it's just the MIT/X11 license that MWF is licensed under.

Cheers,
 Peter

-----Original Message-----
From: "Mark Johnson" <mj10777@web.de>
To: <mono-winforms-list@lists.ximian.com>
Date: 23 January, 2005 23:22
Subject: [Mono-winforms-list] DateTimePicker : code offered (again)


>Last October I offered to supply the c# code for DateTimePicker, but there
>was no response.
>
>I have included the DateTimePicker.cs that I compile under Mono last
>October.
>
>(H:\CVS\mcs\class\Managed.Windows.Forms\System.Windows.Forms)
>
>If ContextMenu and NumericUpDown have in the mean time be resolve it should
>run.
>
>
>
>This E-Mail and the Mono_DateTimePicker.zip can be found at:
>
>
>
> http://www.mj10777.de/NETFramework/Mono/DateTimePicker/index.htm
>
>
>
>Mark Johnson, Berlin Germany
>
>mj10777@mj10777.de
>
>
>
>
>
>Here is the Original Mail from 05.10.2004 :
>
>
>
>DateTimePicker : offer to contribute code developed for Compact
>
>
>
>This year I worked on a DateTimePicker that worked on both 
>Framework.Desktop
>
>and Framework.Compact which did not support DateTimePicker.
>
>
>
>Unfortunately I don't have time to finish the last touches to make it work
>
>to my satisfaction for a public release.
>
>
>
>Basically the painting of the arrows (dependent of the size of the Control)
>
>and the squibble (circle around the "Today" word) are the main thing to be
>
>done.
>
>
>
>This code was base of a Public MS-Source for compact and advanced to 
>support
>
>Internationalising (First day of Week, Months and "Today" etc.)
>
>
>
>The Control can be resized according to used Font / Size with logic to fit
>
>screen (needed in Compact).
>
>
>
>It is dependent on using the CutureInfo and of course DateTime.
>
>
>
>Certain extensions were build in due to desires from others like
>
>Minimum/Maximum Date Support, Font, Background/Foreground colours
>
>
>
>As well as an extra class DateTimePicker_CultureInfo to support the "Today"
>
>word and a Parameter to override the FirstdayOfWeek set by CultureInfo.
>
>
>
>Otherwise the Methods/Variable conform to the Framework version.
>
>
>
>An Windows EXE can be downloaded at :
>
>
>
>http://www.mj10777.de/NETFramework/Compact/DateTimePicker/index.htm
>
>
>
>Although that would not be the last version.
>
>
>
>I would send the code (including the Demo Project) to anyone who would like
>
>to use this as a base for the Mono project (which means it must remain
>
>Open-Source).
>
>
>
>The code is fully documented and there is no Desktop/Compact depended C#
>
>code.
>
>
>
>I just tried to compile my version of the DateTimePicker on the latest CVS
>
>Version and received errors on :
>
>
>
>ContextMenu and NumericUpDown
>
>
>
>Which means these must be implemented before DateTimePicker can be used.
>
>
>
>ContextMenu is not on the TODO list.
>
>
>
>Hoping that this may help getting the Mono Project one step forward .
>
>
>
>Mark Johnson, Berlin Germany
>
>
>
>mj10777@mj10777.de
>
>
>
>