Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim mynode As New TreeNode
- Dim SomeBigCustomObject as New MyContentStorageObject(name,content)
- mynode.Text = SomeBigCustomObject.Name
- mynode.Tag = SomeBigCustomObject
- TreeView1.Nodes.Add(mynode)
- dim ContentStorageObject As MyContentStorageObject = CType(e.Node.Tag, MyContentStorageObject)
- dim content as string = ContentStorageObject.Content
Add Comment
Please, Sign In to add comment