Como: Eventos de configuração de acesso
Settings events allow you to write code in response to changes in application- or user-scoped settings. Settings events include the following:
The SettingChanging event is raised before a setting's value is changed.
The PropertyChanged event is raised after a setting's value is changed.
The SettingsLoaded event is raised after the setting values are loaded.
The SettingsSaving event is raised before the setting values are saved.
For information on how to program using these events, see Acessando as configurações do aplicativo (Visual Basic).
Settings events can be accessed from the Settings pane of the Project Designer.
To access settings events
Selecione um projeto em Solution Explorere, em seguida, o projeto menu, clique em Propriedades.
Select the Settings pane.
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.
Consulte também
Tarefas
Como: Adicionar ou remover configurações do aplicativo
Referência
Objeto My.Settings (Visual Basic)
Conceitos
Acessando as configurações do aplicativo (Visual Basic)