Basically, I am going through an array, and for each item in the array, I am adding a new node to my Treeview with the new items name and whatnot.
This works fine for the 1st array items nodes, but then when i get to my second array item, when I try to add a Node to an existing node, it doesn't do anything. However, if I add a new node to the root node/base treeview node, then it works. I can find/show a messagbox of the node I want to add to, but it just doesn't want to add....
//Check for Material Node under Object Node Added
foreach (TreeNode tn in (treeNodeObj.Nodes))
if (tn.Text == mat) //If we found a Material Node that matches the material name
Edit: Well I found out how to do it, but I still need to mess with it so it works how I want it to.
This Adds a new Node to the 1st Child of the Root Node.