Controling images of nodes in a TreeView (C#)
- by ET
Hi, I am pretty new with GUI, and I guess that is a silly question, but I am stuck...
I am trying to make a folder explorer using TreeView control. now, I added an ImageList with two images - one for a folder and the other for selected folder. I used the 'BeforeExpand' event to change the icon of the current node (folder). The problem is that I dont know how to change it back when the user selects other folder... what event can I use? Maybe I dont use it right... ?
Thanks guys :)