[8924] | 1 | #region License Information
|
---|
| 2 | /* HeuristicLab
|
---|
[11594] | 3 | * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
|
---|
[8924] | 4 | *
|
---|
| 5 | * This file is part of HeuristicLab.
|
---|
| 6 | *
|
---|
| 7 | * HeuristicLab is free software: you can redistribute it and/or modify
|
---|
| 8 | * it under the terms of the GNU General Public License as published by
|
---|
| 9 | * the Free Software Foundation, either version 3 of the License, or
|
---|
| 10 | * (at your option) any later version.
|
---|
| 11 | *
|
---|
| 12 | * HeuristicLab is distributed in the hope that it will be useful,
|
---|
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 15 | * GNU General Public License for more details.
|
---|
| 16 | *
|
---|
| 17 | * You should have received a copy of the GNU General Public License
|
---|
| 18 | * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 19 | */
|
---|
| 20 | #endregion
|
---|
| 21 |
|
---|
| 22 | namespace HeuristicLab.Services.Hive.Properties {
|
---|
[6983] | 23 |
|
---|
| 24 |
|
---|
| 25 | // This class allows you to handle specific events on the settings class:
|
---|
| 26 | // The SettingChanging event is raised before a setting's value is changed.
|
---|
| 27 | // The PropertyChanged event is raised after a setting's value is changed.
|
---|
| 28 | // The SettingsLoaded event is raised after the setting values are loaded.
|
---|
| 29 | // The SettingsSaving event is raised before the setting values are saved.
|
---|
| 30 | public sealed partial class Settings {
|
---|
| 31 |
|
---|
| 32 | public Settings() {
|
---|
| 33 | // // To add event handlers for saving and changing settings, uncomment the lines below:
|
---|
| 34 | //
|
---|
| 35 | // this.SettingChanging += this.SettingChangingEventHandler;
|
---|
| 36 | //
|
---|
| 37 | // this.SettingsSaving += this.SettingsSavingEventHandler;
|
---|
| 38 | //
|
---|
| 39 | }
|
---|
| 40 |
|
---|
| 41 | private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
|
---|
| 42 | // Add code to handle the SettingChangingEvent event here.
|
---|
| 43 | }
|
---|
| 44 |
|
---|
| 45 | private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
|
---|
| 46 | // Add code to handle the SettingsSaving event here.
|
---|
| 47 | }
|
---|
| 48 | }
|
---|
| 49 | }
|
---|