Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
2.00/5 (3 votes)
See more:
Add nodes to TreeView from parent menu strip should be updated automatically when menu strip is updated

multiple selection should be allowed.(Checkbox is better for that)
Posted
Updated 27-Jun-11 22:55pm
v3
Comments
Sergey Alexandrovich Kryukov 28-Jun-11 1:41am    
Tag it: WPF, Forms, APS.NET, what?! What is "parent menu strip"? Parent to the nodes? Why it's a problem for you? How multiple selection is related to adding items? Why doing all that?
--SA
Tarun.K.S 28-Jun-11 4:54am    
And how much have you tried?
lukeer 28-Jun-11 5:28am    
(1) You have a Windows Forms form with a menu.

(2) You want to have a TreeView on that form that resembles the menu structure. So you get first-level-nodes "File", "Edit", .., "Help".

(3) The menu contains checkboxes and you want to select every TreeView node whose corresponding menu check box is checked. Updating on every CheckBox.CheckedChanged event.

Right?
tkkf87 28-Jun-11 5:39am    
lukeer ur correct..i would be thankful if can give me solution too

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900