示例#1
0
 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);
 }
示例#2
0
 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;
 }
示例#3
0
 private void ShowGetDictionaries()
 {
     using (var form = new GetDictionaries())
     {
         form.ShowDialog(this);
     }
 }
示例#4
0
 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);
 }