Пример #1
0
 public static void Register()
 {
     BitmapResource.Register();
     CursorGroupResource.Register();
     CursorResource.Register();
     IconGroupResource.Register();
     IconResource.Register();
 }
Пример #2
0
 internal CursorInfo(CursorResource cursor, ResourceLanguage language, ushort hotspotX, ushort hotspotY, ushort width, ushort height, byte colors, byte[] dib, bool isPNG)
 {
     Cursor   = cursor;
     Language = language;
     Hotspot  = new Point(hotspotX, hotspotY);
     Size     = new Size(width, height);
     Colors   = colors;
     DIB      = dib;
     IsPNG    = isPNG;
 }