protected IconDirectoryEntry(IconDirectoryEntry entry)
        {
            if (entry == null)
                throw new ArgumentNullException("entry");

            Width = entry.Width;
            Height = entry.Height;
            ColorCount = entry.ColorCount;
            Reserved = entry.Reserved;
            Planes = entry.Planes;
            BitCount = entry.BitCount;
            BytesInRes = entry.BytesInRes;
        }
Example #2
0
        protected IconDirectoryEntry(IconDirectoryEntry entry)
        {
            if (entry == null)
            {
                throw new ArgumentNullException("entry");
            }

            Width      = entry.Width;
            Height     = entry.Height;
            ColorCount = entry.ColorCount;
            Reserved   = entry.Reserved;
            Planes     = entry.Planes;
            BitCount   = entry.BitCount;
            BytesInRes = entry.BytesInRes;
        }
Example #3
0
 public PeDirectoryEntry(IconDirectoryEntry entry) :
     base(entry)
 {
 }
 public IcoDirectoryEntry(IconDirectoryEntry entry)
     : base(entry)
 {
 }