00001 00008 namespace LibMC.Properties 00009 { 00010 00011 00012 // This class allows you to handle specific events on the settings class: 00013 // The SettingChanging event is raised before a setting's value is changed. 00014 // The PropertyChanged event is raised after a setting's value is changed. 00015 // The SettingsLoaded event is raised after the setting values are loaded. 00016 // The SettingsSaving event is raised before the setting values are saved. 00017 internal sealed partial class Settings { 00018 00019 public Settings() { 00020 // // To add event handlers for saving and changing settings, uncomment the lines below: 00021 // 00022 // this.SettingChanging += this.SettingChangingEventHandler; 00023 // 00024 // this.SettingsSaving += this.SettingsSavingEventHandler; 00025 // 00026 } 00027 00028 private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { 00029 // Add code to handle the SettingChangingEvent event here. 00030 } 00031 00032 private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { 00033 // Add code to handle the SettingsSaving event here. 00034 } 00035 } 00036 }