Ok, so I'm absoultely positive this was working last night, but today I'm
getting this error in my program when I try to add a child node to a parent
node of a tree...
The error says:
Message: The action being performed on this control is being called from the
wrong thread. You must marshal to the correct thread using Control.Invoke or
Control.BeginInvoke to perform this action.
Stack Trace: at System.Windows.Forms.TreeNode.Realize()
at System.Windows.Forms.TreeNodeCollection.Add(TreeNo de node)
at test.MyNode.AddChild(MyBaseNode node) in ...
So what does this all mean? By the time this error occurs it has already
gone through this same method adding about 30 nodes (confirmed by output)....