title: multiple selection using shift key for treeview node
body: <p>i want to select multiple node for a treeview using shiftkey as shown in below image</p>
  
  <p><img src="https://i.stack.imgur.com/HIRyu.jpg" alt="Treeview with selection multiple node using shift"></p>
  
  <p>how to get the first clicked node index and then next clicked with shift key node index.</p>
  
  <p>i have tried with below code snippet</p>
  
  <pre><code> Dim firstSelectedChildIndex As Integer = treeview1.selectedNode.Index
   Dim lastSelectedChildIndex As Integer = treeview1.selectedNode.Index
   Dim parentNodeIndex As Integer = treeview1.selectedNode.Parent.Index
  
  
   Do      
  
   tvwAttributes.Nodes(parentNodeIndex).Nodes.Item(firstSelectedChildIndex).BackColor = Color.DodgerBlue
  
   tvwAttributes.Nodes(parentNodeIndex).Nodes.Item(firstSelectedChildIndex).BackColor = Color.White
   firstSelectedChildIndex += 1
  
   Loop Until firstSelectedChildIndex = lastSelectedChildIndex 
  </code></pre>
  
  <p>can i have any sample code or any clue how to do this?</p>
  
  <p>Thanks in advance!!!!!</p>