public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _bnr = new BNR(FileInfo.OpenRead()); _bitmaps = _bnr.bmps.Select(o => new BitmapInfo { Bitmap = o }).ToList(); } }
public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _bnr = new BNR(FileInfo.OpenRead()); var _bmpList = _bnr.bmps.Select(o => new BNRBitmapInfo { Bitmap = o, Format = _bnr.settings.Format.FormatName }).ToList(); _bitmaps = new List <BitmapInfo>(); _bitmaps.AddRange(_bmpList); } }