Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

CurrentCulture


  • Please log in to reply
2 replies to this topic

#1 Chad

Chad

    Member

  • Members
  • PipPip
  • 16 posts

Posted 15 May 2011 - 03:31 AM

How do you set the CurrentCulture on the Netduino? Thanks, Chad

#2 Chad

Chad

    Member

  • Members
  • PipPip
  • 16 posts

Posted 22 May 2011 - 02:52 PM

How do you set the CurrentCulture on the Netduino?


For anyone else that needs to know this, I figured it out.

ResourceUtility.SetCurrentUICulture(new CultureInfo("en-US"));

Pass in the CultureInfo you need. I believe this is supposed to persist across power cycles, but haven't tested.

Chad

#3 Chad

Chad

    Member

  • Members
  • PipPip
  • 16 posts

Posted 22 May 2011 - 09:30 PM

Doesn't seem to persist, so I have to set it each time I start up.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.