public void Initialize()
        {
            l1 = OcPropertyChangedListener.Create(MyClocks.Filters.Ms);
            l1.PropertyChanged += l1_PropertyChanged;

            l2 = OcPropertyChangedListener.Create(MyClocks.Groups.Ms);
            l2.PropertyChanged += l2_PropertyChanged;
        }
Esempio n. 2
0
        public FilterVMCollection(ClockMCollection c)
        {
            MyClocks = c;

            MyModel = new FilterMCollection(MyClocks);
            MyModel.Ms.CollectionChanged += MyModel_Ms_CollectionChanged;

            VMs = new ObservableCollection <FilterVM>();
            VMs.CollectionChanged += VMs_CollectionChanged;

            MyClocks.GroupsVM.VMs.CollectionChanged += GroupsVMs_CollectionChanged;

            OcPropertyChangedListener <ClockGroupVM> l1 =
                OcPropertyChangedListener.Create(MyClocks.GroupsVM.VMs);

            l1.PropertyChanged += l1_PropertyChanged;
        }