datetimepicker

  • Thread starter Thread starter Erald Kulk
  • Start date Start date
E

Erald Kulk

L.S.

in my application I changed the current culture with the following
code:

CultureInfo newCulture = new CultureInfo("nl-nl");
newCulture.DateTimeFormat.DayNames = new string[]
{"Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
"Saturday"} ;
//newCulture.DateTimeFormat.AbbreviatedDayNames

Thread.CurrentThread.CurrentCulture = newCulture;
Thread.CurrentThread.CurrentUICulture = newCulture;

but my datetimepicker still displays the days of the week with the
settings of my computer (which are dutch). How can I change these
settings??
I cannot find an appropriate help on this.

Erald
 
Try setting these as the first instruction in the Main

Then Application.Run(new MainForm());


Hope this helps

Dan Cimpoiesu
 
Back
Top