PKStudio.Tree.InventoryTree.SetBuildFile C# (CSharp) 메소드

SetBuildFile() 개인적인 메소드

private SetBuildFile ( BuildFileWrapper file, IEnumerable nodes ) : void
file BuildFileWrapper
nodes IEnumerable
리턴 void
        private void SetBuildFile(BuildFileWrapper file, IEnumerable nodes)
        {
            foreach (TreeNodeAdv child in nodes)
            {
                BuildFileNode invNode = child.Tag as BuildFileNode;
                if (invNode != null)
                {
                    if (string.Compare(file.FullPath, invNode.TypedContent.FullPath, true) == 0)
                    {
                        _treeView.SelectedNode = child;
                        break;
                    }
                }
            }
        }