private void buttonSpellCheckDownload_Click(object sender, EventArgs e) { using (var gd = new GetDictionaries()) { gd.ShowDialog(this); } FillSpellCheckDictionaries(LanguageAutoDetect.AutoDetectLanguageName(null, _subtitle)); if (comboBoxDictionaries.Items.Count > 0 && comboBoxDictionaries.SelectedIndex == -1) { comboBoxDictionaries.SelectedIndex = 0; } ComboBoxDictionariesSelectedIndexChanged(null, null); }
private void buttonSpellCheckDownload_Click(object sender, EventArgs e) { using (var form = new GetDictionaries()) { form.ShowDialog(this); } FillSpellCheckDictionaries(); if (comboBoxDictionaries.Items.Count > 0) comboBoxDictionaries.SelectedIndex = 0; }
private void ShowGetDictionaries() { using (var form = new GetDictionaries()) { form.ShowDialog(this); } }
private void buttonSpellCheckDownload_Click(object sender, EventArgs e) { using (var gd = new GetDictionaries()) { gd.ShowDialog(this); } FillSpellCheckDictionaries(Utilities.AutoDetectLanguageName(null, _subtitle)); if (comboBoxDictionaries.Items.Count > 0 && comboBoxDictionaries.SelectedIndex == -1) comboBoxDictionaries.SelectedIndex = 0; ComboBoxDictionariesSelectedIndexChanged(null, null); }