public void Save(string filename = "") { if (filename.Trim() != string.Empty) { FileInfo = new FileInfo(filename); } _imga = _bitmaps[0].Bitmap; IMGA.Save(FileInfo.FullName, _imga); }
public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _imga = IMGA.Load(FileInfo.OpenRead()); _bitmaps = new List <BitmapInfo> { new BitmapInfo { Bitmap = _imga } }; } }