Hello and thanks for your reply.
I am trying to change the icon of a node in a treeview by opening a user control that contains a listview with icons.
This user control closes (with dispose) on deactivate event.
What I was trying to do is to select the icon with double click, do the appropriate actions for the selection and then close the user control.
At the moment I am selecting the icon in the listview and press a button to set the action and dispose the control.
Is there any way I can do it with double click?
Thanks.