title: c# How to dynamically add tree nodes during runtime
body: <p>I'm trying to add nodes dynamically during run-time to an existing tree-view emulating windows explorer. I have code that works, but because of the amount of recursion that takes place it takes 2-3 minutes to check for all of the files on the c: drive and create the tree.</p>
  
  <p>What I would like to do instead is something like this:</p>
  
  <pre><code> -NodeClickEvent-
  if has children { do nothing }
  else { add children and grandchildren to selected node }
  </code></pre>
  
  <p>This is so that it does not have to load the entire tree, but instead loads a couple layers at a time on a per-click basis.</p>