/// <summary> /// /// </summary> /// <param name="source"></param> public void CopyFrom(Relations source) { ClearAll(); List<RelationItem> arr = source._items; foreach (RelationItem ri in arr) { RelationItem item = new RelationItem(_owner); item.CopyFrom(ri); _items.Add(item); } }