very simple TreeView problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

I'm trying to use a TreeView control for the first time and am having a
problem getting it to work. I have, essentially, the following:

TreeView MyTreeControl = new TreeView();
MyTreeControl.Nodes.Add("test");

The "test" node never shows up, even when I minimize and resize to force a
redraw. I suspect this is something really silly but I don't know what.
What am I doing wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top