I have a treeview on my form and I'm adding nodes to it in the Form.Load event. When I run the code, the vertical and horizontal scrollbars appear as if all the nodes were expanded; the scrollbars aren't needed but they appear anyway. I have to expand and then collapse each node, and then everything works as expected. Is this a bug? Do I need to set a certain property to prevent this?