/// <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"); }
/// <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"); }
/// <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"); }