13 references to RegisterType
System.Drawing (13)
commonui\System\Drawing\Advanced\Gdiplus.cs (10)
4690
public static readonly int Accelerator = System.Internal.HandleCollector.
RegisterType
("Accelerator", 80, 50);
4696
public static readonly int Cursor = System.Internal.HandleCollector.
RegisterType
("Cursor", 20, 500);
4702
public static readonly int EMF = System.Internal.HandleCollector.
RegisterType
("EnhancedMetaFile", 20, 500);
4708
public static readonly int Find = System.Internal.HandleCollector.
RegisterType
("Find", 0, 1000);
4714
public static readonly int GDI = System.Internal.HandleCollector.
RegisterType
("GDI", 50, 500);
4721
public static readonly int HDC = System.Internal.HandleCollector.
RegisterType
("HDC", 100, 2); // wait for 2 dc's before collecting
4727
public static readonly int Icon = System.Internal.HandleCollector.
RegisterType
("Icon", 20, 500);
4733
public static readonly int Kernel = System.Internal.HandleCollector.
RegisterType
("Kernel", 0, 1000);
4739
public static readonly int Menu = System.Internal.HandleCollector.
RegisterType
("Menu", 30, 1000);
4745
public static readonly int Window = System.Internal.HandleCollector.
RegisterType
("Window", 5, 1000);
misc\GDI\SafeNativeMethods.cs (3)
42
public static readonly int EMF = System.Internal.HandleCollector.
RegisterType
("EnhancedMetaFile", 20, 500);
47
public static readonly int GDI = System.Internal.HandleCollector.
RegisterType
("GDI", 90, 50);
53
public static readonly int HDC = System.Internal.HandleCollector.
RegisterType
("HDC", 100, 2); // wait for 2 dc's before collecting