C # wpf setting the date format for the application

added by alekseevkm
10/12/2012 6:15:35 AM

0 Kicks, 58 Views

For example: CultureInfo ci = new CultureInfo ("ru-RU"); Thread.CurrentThread.CurrentCulture = ci; Thread.CurrentThread.CurrentUICulture = ci; And to get the culture: var culture = new CultureInfo (Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName);


0 comments