private DialogResult EditPluginPreferenceHandler(Form parent) { // FormFileNamerPreferences automatically copies the user's changes to // Preferences if the user hits "Save". var result = new FormFileNamerPreferences(Preferences).ShowDialog(parent); if (result == DialogResult.OK) { SavePreferences(Preferences); } return(result); }
private DialogResult EditPluginPreferenceHandler(Form parent) { // FormFileNamerPreferences automatically copies the user's changes to // Preferences if the user hits "Save". var result = new FormFileNamerPreferences(Preferences).ShowDialog(parent); if (result == DialogResult.OK) { SavePreferences(Preferences); } return result; }