1

I am building a culture specific .net windows application and recently i faced a problem with the number shape which is changing according to the OS culture. I want to just use the English shape for all cultures especially the Arabic one.

regards,

4

1 回答 1

0

您可以使用 System.Globalization CultureInfo 类,然后强制您的程序使用美国英语文化:

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");

您可以在此 MSDN 页面上了解更多信息。

于 2013-04-13T11:59:00.057 回答