List<InputLanguage> lstInstalledIL = new List<InputLanguage>();
private void Form1_Load(object sender, EventArgs e)
{
foreach (InputLanguage ilItem in InputLanguage.InstalledInputLanguages)
{
lstInstalledIL.Add(ilItem);
lstlnputLanguages.Items.Add(ilItem.Culture.EnglishName);
}
}
private void lstlnputLanguages_SelectedIndexChanged(object sender, EventArgs e)
{
InputLanguage.CurrentInputLanguage = lstInstalledIL[((ListBox)sender).SelectedIndex];
}