C
Christopher Kimbell
The Dispose function is the result of implementing IDisposable interface, it
is used to explicitly relases unmanaged resources.
It is not uncommon for classes to implement both a Dispose and a Close
method, in many instances it is more logical to call Close rather than
Dispose. The Close method should then call Dispose.
When calling Close on a Form, you have the ability to cancel it using the
Closing event.
Chris
is used to explicitly relases unmanaged resources.
It is not uncommon for classes to implement both a Dispose and a Close
method, in many instances it is more logical to call Close rather than
Dispose. The Close method should then call Dispose.
When calling Close on a Form, you have the ability to cancel it using the
Closing event.
Chris