Exemplo n.º 1
0
 private void btnEditTranslation_Click(object sender, EventArgs e)
 {
     TranslationsDialog translationsDialog = new TranslationsDialog(_translator);
     if (translationsDialog.ShowDialog() == DialogResult.OK)
     {
         _translator = translationsDialog.Translator;
         _SettingsDB.UpdateTranslations(_translator);
     }
     translationsDialog.Dispose();
 }
Exemplo n.º 2
0
        private void btnEditTranslation_Click(object sender, EventArgs e)
        {
            TranslationsDialog translationsDialog = new TranslationsDialog(_translator);

            if (translationsDialog.ShowDialog() == DialogResult.OK)
            {
                _translator = translationsDialog.Translator;
                _SettingsDB.UpdateTranslations(_translator);
            }
            translationsDialog.Dispose();
        }