or
Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
TabItem1.Enabled = True
End Sub
End Class
Let me know if you need more details.
| public void SetTreeNodes(Collection<NodeInformation> nodeInformation, string parentKey) |
| { |
| if (m_TreeNodes.ContainsKey(parentKey)) |
| { |
| RadTreeNode parentNode = m_TreeNodes[parentKey]; |
| foreach( RadTreeNode node in parentNode.Nodes) |
| { |
| RemoveTreeNodeAndChildrenFromDictionary(node); |
| } |
| parentNode.Nodes.Clear(); |
| foreach (NodeInformation information in nodeInformation) |
| { |
| AddTreeNode(information, parentKey); |
| } |
| } |
| } |