Settings.cs
author Markus Schaber <markus@pep-security.net>
Sun, 03 Jan 2016 16:31:22 +0100
changeset 201 9e0548fa3942
parent 43 a687873d7489
permissions -rw-r--r--
Code reformatting.
markus@201
     1
´╗┐namespace pEp.Properties
markus@201
     2
{
vb@43
     3
    // This class allows you to handle specific events on the settings class:
vb@43
     4
    //  The SettingChanging event is raised before a setting's value is changed.
vb@43
     5
    //  The PropertyChanged event is raised after a setting's value is changed.
vb@43
     6
    //  The SettingsLoaded event is raised after the setting values are loaded.
vb@43
     7
    //  The SettingsSaving event is raised before the setting values are saved.
markus@201
     8
    internal sealed partial class Settings
markus@201
     9
    {
markus@201
    10
        public Settings()
markus@201
    11
        {
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
        }
markus@201
    19
markus@201
    20
        private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e)
markus@201
    21
        {
vb@43
    22
            // Add code to handle the SettingChangingEvent event here.
vb@43
    23
        }
markus@201
    24
markus@201
    25
        private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e)
markus@201
    26
        {
vb@43
    27
            // Add code to handle the SettingsSaving event here.
vb@43
    28
        }
vb@43
    29
    }
vb@43
    30
}