Yes. You have to use an ImageList.
- Add the image(s) you want to use to the ImageList.
- Assign the ImageList to the ImageList property of the TreeView.
- If your tree nodes are static (set at design time), you can set the ImageIndex and SelectedImageIndex properties of the node in the designer.
- If your tree nodes are dynamic (built at run time), you set those same properties in your code.
- If you only want an image when the node is selected, don't set the ImageIndex, just the SelectedImageIndex.
-Dell
A computer only does what you actually told it to do - not what you thought you told it to do.