/// <summary> /// Opens the <see cref="PluginSettingsForm"/> form /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void SettingsExporter_OnClick(object sender, System.EventArgs e) { try { //TODO: Implement Value saving and loading PluginSettingsForm eSettingsForm = new PluginSettingsForm(); eSettingsForm.ShowDialog(); //BXDSettings.Instance.AddSettingsObject("Plugin Settings", ExporterSettingsForm.values); PluginSettings = PluginSettingsForm.Values; } catch (Exception ex) { MessageBox.Show(ex.ToString()); throw; } }
private void _menuItem_ItemClick(object sender, ItemClickEventArgs e) { PluginSettings = PluginSettingsForm.ShowSettings(PluginSettings); }