Changeset 4423 for branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Settings.cs
- Timestamp:
- 09/17/10 10:26:55 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Settings.cs
r4060 r4423 1 1 namespace HeuristicLab.Hive.Server.Core.Properties { 2 3 4 // This class allows you to handle specific events on the settings class: 5 // The SettingChanging event is raised before a setting's value is changed. 6 // The PropertyChanged event is raised after a setting's value is changed. 7 // The SettingsLoaded event is raised after the setting values are loaded. 8 // The SettingsSaving event is raised before the setting values are saved. 9 public sealed partial class Settings { 10 11 public Settings() { 12 // // To add event handlers for saving and changing settings, uncomment the lines below: 13 // 14 // this.SettingChanging += this.SettingChangingEventHandler; 15 // 16 // this.SettingsSaving += this.SettingsSavingEventHandler; 17 // 18 } 19 20 private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { 21 // Add code to handle the SettingChangingEvent event here. 22 } 23 24 private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { 25 // Add code to handle the SettingsSaving event here. 26 } 2 // This class allows you to handle specific events on the settings class: 3 // The SettingChanging event is raised before a setting's value is changed. 4 // The PropertyChanged event is raised after a setting's value is changed. 5 // The SettingsLoaded event is raised after the setting values are loaded. 6 // The SettingsSaving event is raised before the setting values are saved. 7 public sealed partial class Settings { 8 public Settings() { 9 // // To add event handlers for saving and changing settings, uncomment the lines below: 10 // 11 // this.SettingChanging += this.SettingChangingEventHandler; 12 // 13 // this.SettingsSaving += this.SettingsSavingEventHandler; 14 // 27 15 } 16 17 private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { 18 // Add code to handle the SettingChangingEvent event here. 19 } 20 21 private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { 22 // Add code to handle the SettingsSaving event here. 23 } 24 } 28 25 }
Note: See TracChangeset
for help on using the changeset viewer.