public void Save(string filename = "") { if (filename.Trim() != string.Empty) { FileInfo = new FileInfo(filename); } _ctpk.bmps = _bitmaps.Select(o => o.Bitmap).ToList(); _ctpk.Save(FileInfo.Create(), false); }
public void Save(string filename = "") { if (filename.Trim() != string.Empty) { FileInfo = new FileInfo(filename); } _ctpk.bmps = _bitmaps.Select(o => new BitmapClass { bmp = o.Bitmap }).ToList(); _ctpk.Save(File.OpenRead(FileInfo.FullName), false); }