Override this method and place code that your App will execute in response to the user closing a modal dialog window that you have opened.

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

Syntax

      
 C#  Visual Basic 
public virtual void OnModalDialogClose(
	string requestID,
	bool cancelled
)
Public Overridable Sub OnModalDialogClose ( _
	requestID As String, _
	cancelled As Boolean _
)

Parameters

requestID
String
The RequestID that you supplied in the call to ShowModalDialog() will be passed.
cancelled
Boolean
Will be true if the user cancelled out of the dialog, otherwise false.

See Also