sl@48: namespace SharpDisplayManager.Properties { sl@48: sl@48: sl@48: // This class allows you to handle specific events on the settings class: sl@48: // The SettingChanging event is raised before a setting's value is changed. sl@48: // The PropertyChanged event is raised after a setting's value is changed. sl@48: // The SettingsLoaded event is raised after the setting values are loaded. sl@48: // The SettingsSaving event is raised before the setting values are saved. sl@48: internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { sl@48: sl@48: public Settings() : base("default") { sl@48: // // To add event handlers for saving and changing settings, uncomment the lines below: sl@48: // sl@48: // this.SettingChanging += this.SettingChangingEventHandler; sl@48: // sl@48: // this.SettingsSaving += this.SettingsSavingEventHandler; sl@48: // sl@48: } sl@48: sl@48: private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { sl@48: // Add code to handle the SettingChangingEvent event here. sl@48: } sl@48: sl@48: private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { sl@48: // Add code to handle the SettingsSaving event here. sl@48: } sl@48: } sl@48: }