0
0

Settings.cs 1.2 KB

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