Ignore:
Timestamp:
Aug 12, 2011, 4:32:33 PM (13 years ago)
Author:
bayral
Message:

root category handled

File:
1 edited

Legend:

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

    r11926 r11935  
    99    public sealed class PwgModelManager
    1010    {
     11        private static System.Threading.SynchronizationContext _synchronizationContext = System.Threading.SynchronizationContext.Current;
     12
     13        public static System.Threading.SynchronizationContext WPF_SynchronizationContext
     14        {
     15            get {
     16                return _synchronizationContext;
     17            }
     18            set {
     19                _synchronizationContext = value;
     20            }
     21        }
     22
    1123        static readonly PwgModelManagerBase _instance = new PwgModelManagerBase();
    1224
     
    5567            }
    5668
    57             private PwgCategoryListWPF _categoryList;
    58             public PwgCategoryListWPF CategoryList
     69            private PwgRootCategoryListWPF _categoryList = new PwgRootCategoryListWPF();
     70            public PwgRootCategoryListWPF CategoryList
    5971            {
    6072                set { _categoryList = value; OnPropertyChanged("CategoryList"); }
    6173                get { return _categoryList; }
    6274            }
     75
     76            private PwgRootCategoryWPF _rootCategoryList;
     77            public PwgRootCategoryWPF RootCategoryList
     78            {
     79                set { _rootCategoryList = value; OnPropertyChanged("RootCategoryList"); }
     80                get { return _rootCategoryList; }
     81            }
     82
    6383
    6484            private PwgImageWPF _imageShown;
Note: See TracChangeset for help on using the changeset viewer.