Dispose(Boolean) Method
- Last UpdatedNov 06, 2025
- 1 minute read
Releases the unmanaged resources used by the System.Windows.Forms.Control and its child controls and optionally releases the managed resources.Releases the unmanaged resources used by the System.Windows.Forms.Control and its child controls and optionally releases the managed resources.Disposes of the resources (other than memory) used by the System.Windows.Forms.Form. Clean up any resources being used.
Parameters
- disposing
- true to release both managed and unmanaged resources; false to release only unmanaged resources.true to release both managed and unmanaged resources; false to release only unmanaged resources.true to release both managed and unmanaged resources; false to release only unmanaged resources.