title: Populate a Combo Box with a Tree View data and sync selection
body: <p>Hello Stackoverflow Contributors,</p>
  
  <p>I have a Combo Box "CmboExpenseType" with no data in at the moment.</p>
  
  <p><img src="https://i.stack.imgur.com/tQefQ.png" alt=""></p>
  
  <p>I also have a Tree View "TVProperties" with the following data.</p>
  
  <p><img src="https://i.stack.imgur.com/YA3h5.png" alt=""></p>
  
  <p>I'd like to get the Parent Nodes from this tree view into the "CmboExpenseType". </p>
  
  <p>So when the user clicks on the Combo Box they will see the parent nodes "Income, Entertainment, Transportation &amp; Others" and then I can program the Child Nodes to go into another Combo Box.</p>
  
  <p>I'm <strong><em>not</em></strong> trying to get a Combo Box into my Tree View.</p>
  
  <p>I have only tried this code at this time. But it worked to no avail.</p>
  
  <pre><code>CmboExpenseType.Items.Add(TVProperties);
  </code></pre>
  
  <p>Would it be worth me moving the nodes into a list or dictionary? </p>
  
  <p>I have some ideas on possible ways after of getting all Parent Nodes in, like a possible foreach loop. I'm just stuck on adding the data from the Tree View into my Combo Box.</p>
  
  <p>Any help would be fantastic. If more information is need please don't hesitate to tell me.</p>