private void CheckDictionaries() { if (!DictionaryManager.ExistsDictionary("ru")) { languageComboBox.Properties.Items.Remove(languageComboBox.Properties.Items.GetItem("Pусский")); } if (!DictionaryManager.ExistsDictionary("de")) { languageComboBox.Properties.Items.Remove(languageComboBox.Properties.Items.GetItem("Deutsch")); } if (!DictionaryManager.ExistsDictionary("es")) { languageComboBox.Properties.Items.Remove(languageComboBox.Properties.Items.GetItem("Español")); } if (!DictionaryManager.ExistsDictionary("fr")) { languageComboBox.Properties.Items.Remove(languageComboBox.Properties.Items.GetItem("Français")); } if (!DictionaryManager.ExistsDictionary("it")) { languageComboBox.Properties.Items.Remove(languageComboBox.Properties.Items.GetItem("Italiano")); } if (!DictionaryManager.ExistsDictionary("en")) { languageComboBox.Properties.Items.Remove(languageComboBox.Properties.Items.GetItem("English")); } if (languageComboBox.Properties.Items.Count == 0) { existsDictionaries = false; WindowManager.ShowInfoBox(this, LanguageUtil.GetCurrentLanguageString("NoDictionaries", Name) + ConstantUtil.dtPadURL + "wikipage?title=Dictionaries"); return; } languageComboBox.EditValue = ConfigUtil.GetStringParameter("Language"); if (languageComboBox.SelectedItem == null) { languageComboBox.EditValue = languageComboBox.Properties.Items[0]; } }