Public void myaddnode () {treeview1.nodes.add ("test");}
Public void addnode () {methodinvoker mi = new methodinvoker (this.myaddnode); this.beginInvoke (mi); thread.sleep (5000); // only for debug}
THREAD THDADDNODE = New ThreadStart (this.addNode); twaddnode.start (); twaddnode.join ();