I solved one problem and now have another one I didn't know existed.
I am going through a TreeView with thousands of items.
The process is taking a long time.
Is there a way I can speed the process up? For example, I tried TreeView.Items.BeginUpdate / EndUpdate so the tree is not displayed during the redraw, but it still takes a while.