need improve

can't check the treelistview wether has been selected.