Now having a single class for both text and bitmap field.
Thus we should soon be able to use common functions to pass in fields.
1 namespace SharpDisplayManager.Properties {
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 : global::System.Configuration.ApplicationSettingsBase {
11 public Settings() : base("default") {
12 // // To add event handlers for saving and changing settings, uncomment the lines below:
14 // this.SettingChanging += this.SettingChangingEventHandler;
16 // this.SettingsSaving += this.SettingsSavingEventHandler;
20 private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
21 // Add code to handle the SettingChangingEvent event here.
24 private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
25 // Add code to handle the SettingsSaving event here.