CommonHandles.cs 541 B

123456789101112131415
  1. using System.Diagnostics.CodeAnalysis;
  2. namespace HandyControl.Tools.Interop;
  3. [SuppressMessage("ReSharper", "InconsistentNaming")]
  4. internal static class CommonHandles
  5. {
  6. public static readonly int Icon = HandleCollector.RegisterType(nameof(Icon), 20, 500);
  7. public static readonly int HDC = HandleCollector.RegisterType(nameof(HDC), 100, 2);
  8. public static readonly int GDI = HandleCollector.RegisterType(nameof(GDI), 50, 500);
  9. public static readonly int Kernel = HandleCollector.RegisterType(nameof(Kernel), 0, 1000);
  10. }