/// <summary>
 /// Rajoute un fils
 /// </summary>
 /// <param name="child"></param>
 public void AddChild(IHierarchyObject child)
 {
     child.SetPosition(childrenListChangeHandler.Items.Count + 1);
     child.SetParent(this);
     childrenListChangeHandler.AddNew((PresentationSlideItem)child);
     UpdateParents();
     OnPropertyChanged("childrenListChangeHandler.Items");
 }
示例#2
0
 /// <summary>
 /// Rajoute un fils
 /// </summary>
 /// <param name="child"></param>
 public void AddChild(IHierarchyObject child)
 {
     child.SetPosition(childrenListChangeHandler.Items.Count);
     child.SetParent(this);
     childrenListChangeHandler.AddNew((PeriodInterval)child);
     UpdateParents();
     OnPropertyChanged("childrenListChangeHandler.Items");
 }
示例#3
0
 /// <summary>
 /// Rajoute un fils
 /// </summary>
 /// <param name="child"></param>
 public void AddChild(IHierarchyObject child)
 {
     child.SetPosition(childrenListChangeHandler.Items.Count);
     child.SetParent(this);
     childrenListChangeHandler.AddNew((Role)child);
     bubbleSortDesc(childrenListChangeHandler.Items);
     UpdateParents();
     OnPropertyChanged("childrenListChangeHandler.Items");
 }