dotnetmonitor.com |
|
||||||||||||
| /*
Need to add a using statement for System.Globalization */
/* Bind a ComboBox (culturesCB) to a current framework cultures */ this.culturesCB.DisplayMember = "EnglishName"; this.culturesCB.ValueMember = "LCID"; this.culturesCB.DataSource = CultureInfo.GetCultures(CultureTypes.FrameworkCultures);
/* Set the currently selected item in the ComboBox */ this.culturesCB.SelectedValue = CultureInfo.CurrentCulture.LCID; |
||||||||||||
|
||||||||||||