S
Sue & Bill
Form's MonthCalendar.FirstDayOfWeek uses System.Windows.Forms.Day.
But CultureInfo's DateTimeFormatInfo.FirstDayOfWeek uses
System.DayOfWeek.
Both are enumerated types listing Friday ... Wednesday (alphabetical
order).
However, when I tried to cast the second to the first to configure a
MonthCalendar control, the result is incorrect (appears offset by one
day). What is a proper mapping function between the two?
Does .NET Framework 2.0 harmonize the two?
Thanks
But CultureInfo's DateTimeFormatInfo.FirstDayOfWeek uses
System.DayOfWeek.
Both are enumerated types listing Friday ... Wednesday (alphabetical
order).
However, when I tried to cast the second to the first to configure a
MonthCalendar control, the result is incorrect (appears offset by one
day). What is a proper mapping function between the two?
Does .NET Framework 2.0 harmonize the two?
Thanks