C# Class Microsoft.ManagementConsole.Samples.ScopePropertyPage

User property page.
Inheritance: PropertyPage
Mostra file Open project: Munemori/Windows_Classic_Sample Class Usage Examples

Public Methods

Method Description
ScopePropertyPage ( Microsoft.ManagementConsole.Samples.SampleScopeNode parentScopeNode ) : System

Constructor for the page.

Protected Methods

Method 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 method

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
return bool

OnCancel() protected method

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
return void

OnDestroy() protected method

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

OnInitialize() protected method

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

OnOK() protected method

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
return bool

QueryCancel() protected method

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

ScopePropertyPage() public method

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