Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }