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