How to: Access Settings Events
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

How to: Access Settings Events

Settings events allow you to write code in response to changes in application- or user-scoped settings. Settings events include the following:

For information on how to program using these events, see Accessing Application Settings.

Settings events can be accessed from the Settings pane of the Project Designer.

To access settings events

  1. Select a project in Solution Explorer, and then on the Project menu, click Properties.

  2. Select the Settings pane.

  3. Click the View code button to open the Settings.vb or Settings.cs file in the Code Editor. This file defines methods that handle the events raised when user settings are changed, loaded, or saved.

© 2016 Microsoft