C# Class CodeConnect.Gistify.Extension.Options.OptionsDialogPage

Inheritance: UIElementDialogPage
Show file Open project: CodeConnect/gistify

Protected Methods

Method Description
OnActivate ( CancelEventArgs e ) : void
OnApply ( PageApplyEventArgs e ) : void

Fired before OnClosed. Fired only when closing via Apply. That's why we can't detect clicking Cancel

OnClosed ( EventArgs e ) : void

Fired when closing either via Apply or Cancel. Fired after OnApply Ensures that the model doesn't have changes in case of canceling.

Method Details

OnActivate() protected method

protected OnActivate ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnApply() protected method

Fired before OnClosed. Fired only when closing via Apply. That's why we can't detect clicking Cancel
protected OnApply ( PageApplyEventArgs e ) : void
e PageApplyEventArgs
return void

OnClosed() protected method

Fired when closing either via Apply or Cancel. Fired after OnApply Ensures that the model doesn't have changes in case of canceling.
protected OnClosed ( EventArgs e ) : void
e EventArgs
return void