public void SetB(PSimple node) { if(_b_ != null) { _b_.Parent(null); } if(node != null) { if(node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _b_ = node; }
public void SetSimple(PSimple node) { if(_simple_ != null) { _simple_.Parent(null); } if(node != null) { if(node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _simple_ = node; }