public bool IsChildOf(IFormType other) { if (SuperType != null && (SuperType.Equals(other) || SuperType.IsChildOf(other))) { return true; } return false; }