title: C#, can`t find TreeView child node by text
body: <p>i have the following code to find a child node in TreeView:</p>
  
  <pre><code>public void NodeHinzufuegen()
  {
      // Other stuff above
      ReturnCompleteFolderPath(erstellterPunkt.Text);
      // Other stuff below
  }
  
  
  
  public void ReturnCompleteFolderPath(string nodename)
  {
      TreeNode[] tempnode = tree_vorlagen.Nodes.Find(nodename, true);
          if (tempnode.Length &gt; 0)
          {
              //tree_vorlagen.SelectedNode = tempnode[0];
              MessageBox.Show(tempnode[0].Parent.Name);
          }
  }
  </code></pre>
  
  <hr>
  
  <p>So ReturnCompleteFolderPath() is called and succesfully transmits the text to ReturnCompleteFolderPath (checked by mouseover in debug). If I mouseover tempnode in debug mode it says {System.Windows.Forms.TreeNode[0]} and if i mouseover tempnode.Length it says "0". So it seems the node couldn`t be found. Any ideas about this?</p>
  
  <p>My Treeview looks like this.</p>
  
  <p>Test1</p>
  
  <ul>
  <li>Test2</li>
  </ul>
  
  <p>"Test2" is the text transmitted to ReturnCompleteFolderPath  function.</p>