public void TestGetParentNode() { NativeTree tree = new NativeTree(testDlg.IdentifyFromDialogId(1041)); IntPtr[] children = tree.GetChildNodes(tree.Nodes[0]); Assert.AreEqual("0", tree.GetItemText(tree.GetParentNode(children[0]))); }
public void TestGetParentNode() { NativeTree tree = new NativeTree(testDlg.IdentifyFromDialogId(1041)); IntPtr[] children = tree.GetChildNodes(tree.Nodes[0]); Assert.AreEqual("0", tree.GetItemText(tree.GetParentNode(children[0]))); }