I wonder if I can remove all added event handlers in all the child forms from the one base form in the Closing method. (VB.NET; .NET 2.0)
Background: In a project I analyze a memory problem. I verified with the memory profile (see related question) and find out that some forms are not collected by the GC, probably because of the EventHandler non-removed references.
In the project all the forms inherits from the BaseForm. Now I search I way to remove in the OnClosed method foreach Control all the EventHandlers to/from the ChildForms.
Is that possible?