P
Pawel Achtel
1. Create a node in tree view
2. Create context menu, which calls myTreeView.Nodes.Clear()
3. execute
if (myTreeView.SelectedNode != null)
myTreeView.SelectedNode.Nodes.Add( new TreeNode("blah");
Two problems:
1. the if is successful even though there are no nodes in the tree !
2. Nodes.Add does not throw, but doesn't add a node either
Microsoft, Please fix asap.
Kind Regards,
Pawel
www.24x7.com.au
2. Create context menu, which calls myTreeView.Nodes.Clear()
3. execute
if (myTreeView.SelectedNode != null)
myTreeView.SelectedNode.Nodes.Add( new TreeNode("blah");
Two problems:
1. the if is successful even though there are no nodes in the tree !
2. Nodes.Add does not throw, but doesn't add a node either
Microsoft, Please fix asap.
Kind Regards,
Pawel
www.24x7.com.au