public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _bch = new BCH(FileInfo.FullName); _bitmaps = _bch.bmps.Select(o => new BitmapInfo { Bitmap = o }).ToList(); } }
public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _bch = new BCH(FileInfo.FullName); _bitmaps = _bch.bmps.Select((o, i) => new BchBitmapInfo { Bitmap = o, Format = _bch._settings[i].Format.FormatName }).ToList <BitmapInfo>(); } }