1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Server/Settings.cs Sun Aug 31 16:12:59 2014 +0200
1.3 @@ -0,0 +1,28 @@
1.4 +namespace SharpDisplayManager.Properties {
1.5 +
1.6 +
1.7 + // This class allows you to handle specific events on the settings class:
1.8 + // The SettingChanging event is raised before a setting's value is changed.
1.9 + // The PropertyChanged event is raised after a setting's value is changed.
1.10 + // The SettingsLoaded event is raised after the setting values are loaded.
1.11 + // The SettingsSaving event is raised before the setting values are saved.
1.12 + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
1.13 +
1.14 + public Settings() : base("default") {
1.15 + // // To add event handlers for saving and changing settings, uncomment the lines below:
1.16 + //
1.17 + // this.SettingChanging += this.SettingChangingEventHandler;
1.18 + //
1.19 + // this.SettingsSaving += this.SettingsSavingEventHandler;
1.20 + //
1.21 + }
1.22 +
1.23 + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
1.24 + // Add code to handle the SettingChangingEvent event here.
1.25 + }
1.26 +
1.27 + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
1.28 + // Add code to handle the SettingsSaving event here.
1.29 + }
1.30 + }
1.31 +}