4 writes to CurrentCulture
System.Windows.Forms.Tests (4)
System\Windows\Forms\ApplicationTests.cs (4)
48Application.CurrentCulture = value; 55Application.CurrentCulture = value; 63Application.CurrentCulture = oldValue; 72Assert.Throws<ArgumentNullException>("value", () => Application.CurrentCulture = null);
11 references to CurrentCulture
System.Windows.Forms (6)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
474CompareInfo compInfo = Application.CurrentCulture.CompareInfo;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ItemComparer.cs (1)
29CompareInfo compInfo = Application.CurrentCulture.CompareInfo;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
217sb.Append(Application.CurrentCulture.TextInfo.ListSeparator);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1135CompareInfo compare = Application.CurrentCulture.CompareInfo; 1203CompareInfo compare = Application.CurrentCulture.CompareInfo;
System\Windows\Forms\Internal\ItemArray.cs (1)
309CompareInfo compInfo = Application.CurrentCulture.CompareInfo;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
299(uint)Application.CurrentCulture.LCID,
System.Windows.Forms.Tests (4)
System\Windows\Forms\ApplicationTests.cs (4)
18Assert.Same(Thread.CurrentThread.CurrentCulture, Application.CurrentCulture); 45CultureInfo oldValue = Application.CurrentCulture; 49Assert.Same(value, Application.CurrentCulture); 56Assert.Same(value, Application.CurrentCulture);