Exemplo n.º 1
0
        private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSettingsDialog tempForm = new frmSettingsDialog();

            tempForm.settingsToModify = settings;
            tempForm.setTranslation   = translation;
            if (tempForm.ShowDialog() == DialogResult.OK)
            {
                settings = tempForm.settingsToModify;
                checkSettings();
            }
            loadTranslatedStrings(settings.translation);
        }
Exemplo n.º 2
0
 private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmSettingsDialog tempForm = new frmSettingsDialog();
     tempForm.settingsToModify = settings;
     tempForm.setTranslation = translation;
     if (tempForm.ShowDialog() == DialogResult.OK)
     {
         settings = tempForm.settingsToModify;
         checkSettings();
     }
     loadTranslatedStrings(settings.translation);
 }