Settings.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. namespace FPER.Properties
  2. {
  3. // This class allows you to handle specific events on the settings class:
  4. // The SettingChanging event is raised before a setting's value is changed.
  5. // The PropertyChanged event is raised after a setting's value is changed.
  6. // The SettingsLoaded event is raised after the setting values are loaded.
  7. // The SettingsSaving event is raised before the setting values are saved.
  8. internal sealed partial class Settings
  9. {
  10. public Settings()
  11. {
  12. // // To add event handlers for saving and changing settings, uncomment the lines below:
  13. //
  14. // this.SettingChanging += this.SettingChangingEventHandler;
  15. //
  16. // this.SettingsSaving += this.SettingsSavingEventHandler;
  17. //
  18. }
  19. private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e)
  20. {
  21. // Add code to handle the SettingChangingEvent event here.
  22. }
  23. private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e)
  24. {
  25. // Add code to handle the SettingsSaving event here.
  26. }
  27. }
  28. }