Ignore:
Timestamp:
Aug 8, 2011, 6:57:56 PM (13 years ago)
Author:
bayral
Message:

Async image thumbail retriving

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoWpf/DTO/PwgImageWPF.cs

    r7150 r11922  
    1212    public class PwgImageWPF : INotifyPropertyChanged
    1313    {
     14        private String _imgSource;
     15        public String ImgSource
     16        {
     17            set { _imgSource = value; OnPropertyChanged("ImgSource"); }
     18            get
     19            {
     20                if (_imgSource == null)
     21                {
     22                    _imgSource = Com.Piwigo.Wpf.Service.ImageCacheManager.Instance.GetImageFilename(this);
     23                }
     24                return _imgSource;
     25            }
     26        }
     27       
     28
    1429        private Int32 _id;
    1530        public  Int32 Id
Note: See TracChangeset for help on using the changeset viewer.