I made a treeView, and I did that you can create your own roots and childs. I used this code to let you create your own child:
So, the child gets the name of the text in textBox1.
This is on the left side of the form.
On the right side, there is a richTextBox and a listView. How can I do that every child gets his own richTextBox and his own listView, with their own text.
So if I create million diffrent childs, there are million diffrent richTextBoxes and listViews.
VB.NET:
If Not textBox1.Text = "" Then
Treeview1.SelectedNode.Nodes.Add(textBox1.Text)
textBox1.Text = ""
ElseIf textBox1.Text = "" Then
System.Windows.Forms.MessageBox.Show("You didn't gave the child a name.")
End If
This is on the left side of the form.
On the right side, there is a richTextBox and a listView. How can I do that every child gets his own richTextBox and his own listView, with their own text.
So if I create million diffrent childs, there are million diffrent richTextBoxes and listViews.