Exemple #1
0
        public UInt32 GetChecksum()
        {
            UInt32 ch = 0;

            ch += Consts.checksum(Consts.MAXPAGES);
            foreach (Page p in pages)
            {
                ch += p.GetChecksum();
            }
            return(ch);
        }
Exemple #2
0
        public UInt32 GetChecksum()
        {
            UInt32 ch = 0;

            ch += Consts.checksum(liczba_linii);
            ch += Consts.checksum(Efekt);
            ch += Consts.checksum(czas_trwania);
            if (text != null)
            {
                ch += Consts.checksum(text);
            }
            ch += Consts.checksum(font);
            return(ch);
        }