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?
 
Back
Top