private HResult ProcessParentChange(NiHierarchy parent) { if (_parent != null) { _parent.RemoveChild(this); } _parent = parent; if (_parent != null) { _parent.AddChild(this); } return(HResult.OK); }
private HResult ProcessParentChange(NiHierarchy parent) { if (_parent != null) _parent.RemoveChild(this); _parent = parent; if (_parent != null) _parent.AddChild(this); return HResult.OK; }