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;
}
}
}
}