Q:
How can I select nodes when clicking on icons?
A:
Add function ob_t26 to icon attribute like this
C#:
oTree.Add("a0", "b2", "Hello", false, "folder.gif\" onclick=\"ob_t26('b2')", null )
VB.NET:
oTree.Add("a0", "b2", "Hello", false, "folder.gif"" onclick=""ob_t26('b2')" )
Pay attention to double quotes.