Changeset 11905 for extensions/PiwigoLib/PiwigoWpf/DTO/PwgModelManager.cs
- Timestamp:
- Aug 4, 2011, 5:34:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoWpf/DTO/PwgModelManager.cs
r11904 r11905 3 3 using System.Linq; 4 4 using System.Text; 5 using System.ComponentModel; 5 6 6 7 namespace Com.Piwigo.Wpf.DTO … … 26 27 public class PwgModelManagerBase 27 28 { 28 public PwgImageListWPF ImageList { get; set; } 29 public PwgSessionWPF Session { get; set; } 30 public PwgCategoryListWPF CategoryList { get; set; } 29 private PwgImageListWPF _imageList; 30 public PwgImageListWPF ImageList 31 { 32 set { _imageList = value; OnPropertyChanged("ImageList"); } 33 get { return _imageList; } 34 } 35 36 private PwgSessionWPF _session; 37 public PwgSessionWPF Session 38 { 39 set { _session = value; OnPropertyChanged("Session"); } 40 get { return _session; } 41 } 42 43 private PwgCategoryListWPF _categoryList; 44 public PwgCategoryListWPF CategoryList 45 { 46 set { _categoryList = value; OnPropertyChanged("CategoryList"); } 47 get { return _categoryList; } 48 } 49 50 public event PropertyChangedEventHandler PropertyChanged; 51 private void OnPropertyChanged(String info) 52 { 53 if (PropertyChanged != null) 54 PropertyChanged(this, new PropertyChangedEventArgs(info)); 55 } 31 56 } 32 57 58 33 59 } 34 60 }
Note: See TracChangeset
for help on using the changeset viewer.