Beispiel #1
0
 public void AddChild(SpaceChild spaceChild)
 {
     _children.Add(spaceChild);
     NotifyPropertyChanged("Children");
     NotifyPropertyChanged("HasChildren");
     spaceChild.PropertyChanged += new PropertyChangedEventHandler(spaceChild_PropertyChanged);
 }
 public void RemoveChild(SpaceChild spaceChild)
 {
     _children.Remove(spaceChild);
     NotifyPropertyChanged("Children");
     NotifyPropertyChanged("HasChildren");
 }
 public void AddChild(SpaceChild spaceChild)
 {
     _children.Add(spaceChild);
     NotifyPropertyChanged("Children");
     NotifyPropertyChanged("HasChildren");
     spaceChild.PropertyChanged += new PropertyChangedEventHandler(spaceChild_PropertyChanged);
 }
Beispiel #4
0
 public void RemoveChild(SpaceChild spaceChild)
 {
     _children.Remove(spaceChild);
     NotifyPropertyChanged("Children");
     NotifyPropertyChanged("HasChildren");
 }