When you work with ToolTip components in Microsoft Visual Studio .NET with Windows Forms in multiple-document interface (MDI) mode, your application may experience a memory leak every time that the ToolTip components are used on the child MDI form. You may notice this problem as an increase in the Graphics Device Interface (GDI) Object count that Microsoft Windows Task Manager displays as the operation repeats.
To view the GDI Object count in Task Manager, follow these steps:
Open the Task Manager window.
On the View menu, click Select Columns.
In the Select Columns dialog box, click to select GDI Objects.
This problem occurs when you have a ToolTip component embedded on a child MDI form, and the child MDI form is destroyed. The ToolTip component is not garbage collected after the MDI form is destroyed.
To resolve this problem, obtain the latest service pack for Microsoft .NET Framework 1.0 or Microsoft .NET Framework 1.1. For more information, click the following article number to view the article in the Microsoft Knowledge Base: