Example #1
0
        private void _saveButton_Click(object sender, EventArgs e)
        {
            if (DoValidation())
            {
                ConfigInstance.Current.PluginName     = _pluginNameTextBox.Text;
                ConfigInstance.Current.TvUptodatePath = _tvUpToDatePathTextBox.Text;
                ConfigInstance.Current.ClickFinderConnectionString   = _connectionStringTextBox.Text;
                ConfigInstance.Current.LaunchClickFinderBeforeImport = _launchClickFinderBeforeImportCheckBox.Checked;
                ConfigInstance.Current.UseShortDescription           = _shortDescriptionRadioButton.Checked;
                ConfigInstance.Save();

                this.Close();
            }
        }
Example #2
0
 private void _defaultButton_Click(object sender, EventArgs e)
 {
     ConfigInstance.LoadDefault();
     ShowCurrentConfig();
 }