J
Justin Rogers
You have several options. First, you can pre-create all of your nodes. Then
add them
later. If you have thousands of nodes, and you really need to insert them over
time, then
you just need to BeginInvoke or Invoke your insertion delegate. I have a sample
showing
async operations over a ListBox that might help, though I don't have one
available for the
TreeView.
What does it take to make an Asynchronously drawn ListBox in Windows Forms?
http://weblogs.asp.net/justin_rogers/archive/2004/02/01/65805.aspx
add them
later. If you have thousands of nodes, and you really need to insert them over
time, then
you just need to BeginInvoke or Invoke your insertion delegate. I have a sample
showing
async operations over a ListBox that might help, though I don't have one
available for the
TreeView.
What does it take to make an Asynchronously drawn ListBox in Windows Forms?
http://weblogs.asp.net/justin_rogers/archive/2004/02/01/65805.aspx