Last change
on this file since 11679 was
7655,
checked in by spimming, 12 years ago
|
#1680:
- User setting to store azure subscriptions
- Method to get subscription as string for user settings
- Methods to persist and restore subscriptions from user config
|
File size:
1.3 KB
|
Line | |
---|
1 | namespace HeuristicLab.Clients.Hive.CloudManager.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 | internal 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 | }
|
---|
27 | }
|
---|
28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.