Tengo un pequeño problema con los valores que utiliza el VB y el c# y no acabo de ver bien el pasar de uno a otro, seria correcto de esta manera?
VB:
If XML.ChildNodes(1).ChildNodes(a).Attributes("visibl e").Value <> 0 Then
TV.Nodes.Add(TN)
End If
If Not XML.ChildNodes(1).ChildNodes(a).Attributes("select ed") Is Nothing Then
TreeSelectedNode = TN
End If
c#:
if (XML.ChildNodes[1].ChildNodes[a].Attributes["visible"].Value != "false" )
{
TV.Nodes.Add(TN);
}
if (XML.ChildNodes[1].ChildNodes[a].Attributes["selected"] == null)
{
TreeSelectedNodes = TN;
}
Gracias!