C# Class Microsoft.ManagementConsole.Samples.ScopePropertyPage

User property page.
Inheritance: PropertyPage
Afficher le fichier Open project: Munemori/Windows_Classic_Sample Class Usage Examples

Méthodes publiques

Méthode Description
ScopePropertyPage ( Microsoft.ManagementConsole.Samples.SampleScopeNode parentScopeNode ) : System

Constructor for the page.

Méthodes protégées

Méthode Description
OnApply ( ) : bool

Sent to every page in the property sheet to indicate that the user has clicked the Apply button and wants all changes to take effect.

OnCancel ( ) : void

Indicates that the user has canceled and the property sheet is about to be destroyed. All changes made since the last PSN_APPLY notification are canceled

OnDestroy ( ) : void

Notifies a page that the property sheet is getting destoyed. Use this notification message as an opportunity to perform cleanup operations.

OnInitialize ( ) : void

Initialize notification for the page. Default implementation is empty.

OnOK ( ) : bool

Sent to every page in the property sheet to indicate that the user has clicked the OK or Close button and wants all changes to take effect.

QueryCancel ( ) : bool

Indicates that the user wants to cancel the property sheet. Default implementation allows cancel operation.

Method Details

OnApply() protected méthode

Sent to every page in the property sheet to indicate that the user has clicked the Apply button and wants all changes to take effect.
protected OnApply ( ) : bool
Résultat bool

OnCancel() protected méthode

Indicates that the user has canceled and the property sheet is about to be destroyed. All changes made since the last PSN_APPLY notification are canceled
protected OnCancel ( ) : void
Résultat void

OnDestroy() protected méthode

Notifies a page that the property sheet is getting destoyed. Use this notification message as an opportunity to perform cleanup operations.
protected OnDestroy ( ) : void
Résultat void

OnInitialize() protected méthode

Initialize notification for the page. Default implementation is empty.
protected OnInitialize ( ) : void
Résultat void

OnOK() protected méthode

Sent to every page in the property sheet to indicate that the user has clicked the OK or Close button and wants all changes to take effect.
protected OnOK ( ) : bool
Résultat bool

QueryCancel() protected méthode

Indicates that the user wants to cancel the property sheet. Default implementation allows cancel operation.
protected QueryCancel ( ) : bool
Résultat bool

ScopePropertyPage() public méthode

Constructor for the page.
public ScopePropertyPage ( Microsoft.ManagementConsole.Samples.SampleScopeNode parentScopeNode ) : System
parentScopeNode Microsoft.ManagementConsole.Samples.SampleScopeNode
Résultat System