Beispiel #1
0
        private void listBoxLanguages_SelectedIndexChanged(object sender, EventArgs e)
        {
            listBoxWord.Items.Clear();

            foreach (string word in WinFormsHelper.SelectLanguageWords(
                         listBoxList.GetItemText(listBoxList.SelectedItem),
                         listBoxLanguage.GetItemText(listBoxLanguage.SelectedItem)))
            {
                listBoxWord.Items.Add(word.Capitalize());
            }
        }