views:

9

answers:

0

In one of my third party controls, it makes use of an instance of System.Globalization.CultureInfo. So, what happens is an instance of System.Globalization.CultureInfo will be created inside the InitializeComponent form method whenever the Windows Form designer is invoked.

The problem is that the cultureInfo instance is always set to en-SG, i.e, this line of code will always be generated when Windows Form designer is invoked:

System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo("en-SG", false);

But I don't want this; I want this

System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo("en-US", false);

Is there anything I can do to fix this problem with the Windows Form Designer?