Esempio n. 1
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _f3xt = new F3XT(FileInfo.OpenRead());

                _bitmaps = new List <BitmapInfo> {
                    new BitmapInfo {
                        Bitmap = _f3xt.Image
                    }
                };
            }
        }
Esempio n. 2
0
        public LoadResult Load(string filename)
        {
            LoadResult result = LoadResult.Success;

            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _f3xt = new F3XT(FileInfo.OpenRead());
            }
            else
            {
                result = LoadResult.FileNotFound;
            }

            return(result);
        }
Esempio n. 3
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _f3xt = new F3XT(FileInfo.OpenRead());

                var _bmpList = new List <BitmapInfo> {
                    new F3XTBitmapInfo {
                        Bitmap = _f3xt.Image, Format = _f3xt.settings.Format.FormatName
                    }
                };
                var _bitmaps = new List <BitmapInfo>();
                _bitmaps.AddRange(_bmpList);
            }
        }