示例#1
0
 public TdfReader()
 {
     Bitmap  = new SBitmap();
     Version = new SVersion();
     Header  = new SHeader
     {
         Date = new SDate()
     };
 }
示例#2
0
        public TdfFile()
        {
            Bitmap  = new SBitmap();
            Version = new SVersion();
            Header  = new SHeader
            {
                Date = new SDate()
            };
            Header.Date.Day   = (char)DateTime.Now.Day;
            Header.Date.Month = (char)DateTime.Now.Month;
            Header.Date.Year  = (ushort)DateTime.Now.Year;

            Bitmap.BfType    = 19778;
            Bitmap.BfSize    = 21054;
            Bitmap.BfOffBits = 54;
            Version.Major    = 1;
            Version.Minor    = 4;
        }