Treeview in C#

I want to know how can i put my cursor automatically on a level of my treeview?


 | |
 | --LEVEL_1_1
 | |
 | -- (LEVEL_1_2)
 | |
 | |-LEVEL_2_1
 | |
 | --LEVEL-2-2

I want to place my cursor in "LEVEL_1_2"

Can you explain me these properties whose following:

-1) TreeView_1. Select
-2) TreeView_1. SelectedNode
-3) treeView_1. Parent

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1 - TreeView_1.Select:when happens TreeView_1's nodes is selected with mouse.
2 - TreeView_1.SelectedNode:
when you click on TreeView_1's Nodes,
TreeView_1.SelectedNode set to selected node.
for example you have follow treeview:
name of treeview is:treeview1 and it's nodes are:
when you click each of nodes, selectedNode set to the node is selected.

3 - TreeView_1.Parent is Form.
 if you want to put your cursor on a level:
you must set TreeView_1.SelectedNode to a node that you want.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DrChalAuthor Commented:
Thanks for your explanation.

Can you give me an example of source's code with selectedNode and Parent.

if you have the following nodes
         - cars  +

         - train
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.