Exemplo n.º 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);
        }
Exemplo n.º 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);
        }