Decreases the reference count for the application object. When the count drops to zero (or below if there is a bug), the application exits. It is called everytime a Sal form is destroyed. This should emulate SAL application's behavior with respect to top level windows. When the last form is destroyed the app exits.

Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static int RemoveForm(
	Form form
)

Parameters

form
Type: System.Windows.Forms..::..Form

Return Value

See Also