Ejemplo n.º 1
0
        private void LoadSheet()
        {
            LC4Sheet sheet = new LC4Sheet();

            Byte[] pad;
            pad = m_fmt.ReadBytes(11);
            sheet.SomeString1  = m_fmt.ReadString();
            sheet.SomeString2  = m_fmt.ReadString();
            sheet.SomeString3  = m_fmt.ReadString();
            sheet.Size1        = m_fmt.ReadNumeric();
            sheet.Size2        = m_fmt.ReadNumeric();
            sheet.Thickness    = m_fmt.ReadNumeric();
            sheet.SomeInteger1 = m_fmt.ReadInt32();
            sheet.SomeInteger2 = m_fmt.ReadInt32();
            pad = m_fmt.ReadBytes(2);
            sheet.SomeInteger3 = m_fmt.ReadInt32();
            pad = m_fmt.ReadBytes(10);
            sheet.SomeInteger4 = m_fmt.ReadInt32();
            pad = m_fmt.ReadBytes(3);
            m_document.Sheets.Add(sheet);
        }