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