Settings.cs
author Volker Birk <vb@pep-project.org>
Mon, 25 May 2015 21:28:25 +0200
changeset 43 a687873d7489
child 201 9e0548fa3942
permissions -rw-r--r--
options
vb@43
     1
´╗┐namespace pEp.Properties {
vb@43
     2
    
vb@43
     3
    
vb@43
     4
    // This class allows you to handle specific events on the settings class:
vb@43
     5
    //  The SettingChanging event is raised before a setting's value is changed.
vb@43
     6
    //  The PropertyChanged event is raised after a setting's value is changed.
vb@43
     7
    //  The SettingsLoaded event is raised after the setting values are loaded.
vb@43
     8
    //  The SettingsSaving event is raised before the setting values are saved.
vb@43
     9
    internal sealed partial class Settings {
vb@43
    10
        
vb@43
    11
        public Settings() {
vb@43
    12
            // // To add event handlers for saving and changing settings, uncomment the lines below:
vb@43
    13
            //
vb@43
    14
            // this.SettingChanging += this.SettingChangingEventHandler;
vb@43
    15
            //
vb@43
    16
            // this.SettingsSaving += this.SettingsSavingEventHandler;
vb@43
    17
            //
vb@43
    18
        }
vb@43
    19
        
vb@43
    20
        private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
vb@43
    21
            // Add code to handle the SettingChangingEvent event here.
vb@43
    22
        }
vb@43
    23
        
vb@43
    24
        private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
vb@43
    25
            // Add code to handle the SettingsSaving event here.
vb@43
    26
        }
vb@43
    27
    }
vb@43
    28
}