자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private static bool IsDescendent(ITreeNode parent, ITreeNode node) { if (Script.IsNullOrUndefined(node)) return false; if (parent.Contains(node)) return true; foreach (ITreeNode child in parent.Children) { if (IsDescendent(child, node)) return true; } return false; }