Exemplo n.º 1
0
        public void LoadFromProject(BinaryReader br)
        {
            int      size = 0;
            HPTImage hptImage;

            _full_path_name = HPTFileHelper.GetString(br);
            _file_name      = Path.GetFileName(_full_path_name);

            size = br.ReadInt32();
            _hgfHeader.NumberOfImages = size;

            _hptImages.Clear();
            for (int i = 0; i < size; i++)
            {
                // get pngs
                hptImage = new HPTImage();
                hptImage.LoadFromProject(br);
                _hptImages.Add(hptImage);
            }
        }
Exemplo n.º 2
0
        public void LoadFromProject(BinaryReader br)
        {
            int size = 0;
            HPTImage hptImage;

            _full_path_name = HPTFileHelper.GetString(br);
            _file_name = Path.GetFileName(_full_path_name);

            size = br.ReadInt32();
            _hgfHeader.NumberOfImages = size;

            _hptImages.Clear();
            for (int i = 0; i < size; i++)
            {
                // get pngs
                hptImage = new HPTImage();
                hptImage.LoadFromProject(br);
                _hptImages.Add(hptImage);
            }
        }