In This Topic
Releases the unmanaged resources used by the
System.Windows.Forms.Control and its child controls and optionally releases the managed resources.
Syntax
'Declaration
Protected Overloads Overridable Sub Dispose( _
ByVal As Boolean _
)
protected virtual void Dispose(
bool
)
Parameters
- disposing
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
See Also