How to release PageLayoutControl from memory

Discussion created by margaral on Feb 28, 2014

I have an Engine application for Arcgis Desktop in A PageLayoutControl included in a Windows Form opens an existing .mxd file.

When the Windows Form is closed, its contents are not released from memory properly until ArcGIS Desktop is closed.

Someone knows why this happens???

How to release memory when closing the Windows Form? How to code the finalize method???

Thanks in advance!!!