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