示例#1
0
        public ICONDIRENTRY ToIconDirEntry()
        {
            ICONDIRENTRY iconDirEntry = new ICONDIRENTRY();

            iconDirEntry.bColorCount  = bColorCount;
            iconDirEntry.bHeight      = bHeight;
            iconDirEntry.bReserved    = bReserved;
            iconDirEntry.bWidth       = bWidth;
            iconDirEntry.dwBytesInRes = dwBytesInRes;
            iconDirEntry.wBitCount    = wBitCount;
            iconDirEntry.wPlanes      = wPlanes;
            return(iconDirEntry);
        }
示例#2
0
 public ICONDIRENTRY(Stream stream)
 {
     this = new ICONDIRENTRY();
     Read(stream);
 }
示例#3
0
 public ICONDIRENTRY(Stream stream)
 {
     this = new ICONDIRENTRY();
     this.Read(stream);
 }
示例#4
0
 public ICONDIRENTRY ToIconDirEntry()
 {
     ICONDIRENTRY iconDirEntry = new ICONDIRENTRY();
     iconDirEntry.bColorCount    = this.bColorCount;
     iconDirEntry.bHeight        = this.bHeight;
     iconDirEntry.bReserved      = this.bReserved;
     iconDirEntry.bWidth         = this.bWidth;
     iconDirEntry.dwBytesInRes   = this.dwBytesInRes;
     iconDirEntry.wBitCount      = this.wBitCount;
     iconDirEntry.wPlanes        = this.wPlanes;
     return iconDirEntry;
 }