Called before the settings are saved and the dialog is closed. Allows opportunity to validate and cancel the save if necessary.

Namespace:  RedCritterV1
Assembly:  RedCritterV1 (in RedCritterV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public virtual void OnBeforeSave(
	ref bool cancel
)
Public Overridable Sub OnBeforeSave ( _
	ByRef cancel As Boolean _
)

Parameters

cancel
Boolean %
Set to true to cancel the save.

See Also