I
I
ikari812014-09-07 08:41:10
C++ / C#
ikari81, 2014-09-07 08:41:10

Convert TreeView to ContextMenu, C#, how?

There is a filled TreeView, you need to create a ContextMenu so that its structure repeats the structure of the TreeView.
So far I'm getting the TreeView structure as shown here: csdeveloper.ru/category/treeview, but here's restoring it in the ContextMenu... So far, it's cumbersome garbage no further than the second level.
Maybe someone came across where to dig further?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleksandr, 2014-09-07
@Track77

Use ToolStripControlHost to add a full fledged TreeView to the menu.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question