Changeset 11922 for extensions/PiwigoLib/PiwigoWpf/DTO
- Timestamp:
- Aug 8, 2011, 6:57:56 PM (13 years ago)
- Location:
- extensions/PiwigoLib/PiwigoWpf/DTO
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoWpf/DTO/PwgImageWPF.cs
r7150 r11922 12 12 public class PwgImageWPF : INotifyPropertyChanged 13 13 { 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 14 29 private Int32 _id; 15 30 public Int32 Id -
extensions/PiwigoLib/PiwigoWpf/DTO/PwgModelManager.cs
r11905 r11922 27 27 public class PwgModelManagerBase 28 28 { 29 private AsyncObservableCollection<String> _lstMsgInfo = new AsyncObservableCollection<String>(); 30 public AsyncObservableCollection<String> lstMsgInfo 31 { 32 set { _lstMsgInfo = value; OnPropertyChanged("lstMsgInfo"); } 33 get { return _lstMsgInfo; } 34 } 35 36 private Boolean _booCmdRunning = false; 37 public Boolean booCmdRunning 38 { 39 set { _booCmdRunning = value; OnPropertyChanged("booCmdRunning"); } 40 get { return _booCmdRunning; } 41 } 42 29 43 private PwgImageListWPF _imageList; 30 44 public PwgImageListWPF ImageList … … 49 63 50 64 public event PropertyChangedEventHandler PropertyChanged; 51 privatevoid OnPropertyChanged(String info)65 internal void OnPropertyChanged(String info) 52 66 { 53 67 if (PropertyChanged != null)
Note: See TracChangeset
for help on using the changeset viewer.