private void SetChildFxnParents() { foreach (CatKind k in GetChildKinds()) { if (k is CatFxnType) { CatFxnType ft = k as CatFxnType; ft.SetChildFxnParents(); ft.SetParent(this); } } }