title: C# treeView, how do I get the parent nodes when user clicks the child node
body: <p>I have a treeview which is generated programatically when documents are loaded into my programme.</p>
  
  <p>My treeview looks something like this:</p>
  
  <pre><code>+ System - 65
          + Subsystem - 32
            Subsystem - 68
                         + Subsubsystem - 01
                           Subsubsystem - 02
  
  + System - 70
          + Subsystem - 22
            Subsystem - 30
                         + Subsubsystem - 10
  </code></pre>
  
  <p>I need to be able to click on a 'Subsubsystem' child node and have it poplulate my listView with all documents that belong to the respective System and subsystem. So for example, if i were to click on the Subsubsystem 10 of the treeview above, i need it to return all documents which are part of System 70, Subsystem 30 and Subsubsystem 10.</p>
  
  <p>The bit i'm struggling with is knowing how to get the parent nodes of the Subsubsystem 10 when i click on it.</p>
  
  <p>Obviously when i click on the Subsubsystem 10 my programme needs to get the parent nodes in order to return the documents belonging to the respective system and subsystem.</p>
  
  <p>Any ideas? </p>