Settings.cs
changeset 201 9e0548fa3942
parent 43 a687873d7489
     1.1 --- a/Settings.cs	Sun Jan 03 16:22:54 2016 +0100
     1.2 +++ b/Settings.cs	Sun Jan 03 16:31:22 2016 +0100
     1.3 @@ -1,14 +1,14 @@
     1.4 -´╗┐namespace pEp.Properties {
     1.5 -    
     1.6 -    
     1.7 +´╗┐namespace pEp.Properties
     1.8 +{
     1.9      // This class allows you to handle specific events on the settings class:
    1.10      //  The SettingChanging event is raised before a setting's value is changed.
    1.11      //  The PropertyChanged event is raised after a setting's value is changed.
    1.12      //  The SettingsLoaded event is raised after the setting values are loaded.
    1.13      //  The SettingsSaving event is raised before the setting values are saved.
    1.14 -    internal sealed partial class Settings {
    1.15 -        
    1.16 -        public Settings() {
    1.17 +    internal sealed partial class Settings
    1.18 +    {
    1.19 +        public Settings()
    1.20 +        {
    1.21              // // To add event handlers for saving and changing settings, uncomment the lines below:
    1.22              //
    1.23              // this.SettingChanging += this.SettingChangingEventHandler;
    1.24 @@ -16,12 +16,14 @@
    1.25              // this.SettingsSaving += this.SettingsSavingEventHandler;
    1.26              //
    1.27          }
    1.28 -        
    1.29 -        private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
    1.30 +
    1.31 +        private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e)
    1.32 +        {
    1.33              // Add code to handle the SettingChangingEvent event here.
    1.34          }
    1.35 -        
    1.36 -        private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
    1.37 +
    1.38 +        private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e)
    1.39 +        {
    1.40              // Add code to handle the SettingsSaving event here.
    1.41          }
    1.42      }