Exemple #1
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _ctx = new CTX(FileInfo.OpenRead());

                _bitmaps = _ctx.bmps.Select(o => new BitmapInfo {
                    Bitmap = o
                }).ToList();
            }
        }
Exemple #2
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _ctx = new CTX(FileInfo.OpenRead());

                var _bmpList = _ctx.bmps.Select(o => new CTXBitmapInfo {
                    Bitmap = o, Format = _ctx.settings.Format.FormatName
                }).ToList();
                _bitmaps = new List <BitmapInfo>();
                _bitmaps.AddRange(_bmpList);
            }
        }