[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Dispose

Dispose Method

Dispose()

Releases all resources used by this DeviceContext object.

Declaration
public void Dispose()
Implements
Remarks

Calling Dispose allows the resources used by the DeviceContext object to be reallocated for other purposes.

Dispose(bool)

Releases the unmanaged resources used by the DeviceContext and optionally releases the managed resources.

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.