That'll clean itself up, you dont need to do anything.
you only need to put code in dispose to free up external resources used by
the form or class.
"pigeonrandle" <pi**********@hotmail.comwrote in message
news:11**********************@v45g2000cwv.googlegr oups.com...
Hi,
I have a class with a handle to a window and a handle to its icon (if
it has one).
What do i need to do to correctly free these resources when my class is
disposed?
Cheers,
James.