2 writes to
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
78
this
[
index] = treeNode;
System.Windows.Forms.Tests (1)
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
76
Assert.Throws<ArgumentOutOfRangeException>("index", () => collection
[
index] = new TreeNode());
29 references to
System.Windows.Forms (19)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
672
return _parent.Nodes
[
_index + 1];
830
return _parent.Nodes
[
currentInd - 1];
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (13)
73
get => this
[
index];
104
return this
[
index];
260
if (treeNodeCollectionToLookIn
[
i] is null)
265
if (WindowsFormsUtils.SafeCompareStrings(treeNodeCollectionToLookIn
[
i].Name, key, ignoreCase: true))
267
foundTreeNodes.Add(treeNodeCollectionToLookIn
[
i]);
276
if (treeNodeCollectionToLookIn
[
i] is null)
281
if ((treeNodeCollectionToLookIn
[
i].Nodes is not null) && treeNodeCollectionToLookIn
[
i].Nodes.Count > 0)
284
foundTreeNodes = FindInternal(key, searchAllChildren, treeNodeCollectionToLookIn
[
i].Nodes, foundTreeNodes);
383
if (this
[
index] == node)
411
if (WindowsFormsUtils.SafeCompareStrings(this
[
_lastAccessedIndex].Name, key, ignoreCase: true))
420
if (WindowsFormsUtils.SafeCompareStrings(this
[
i].Name, key, ignoreCase: true))
606
this
[
index].Remove();
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2668
UpdateCheckedState(node.Nodes
[
i], update);
2676
UpdateCheckedState(node.Nodes
[
i], update);
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (1)
35
? owningTreeView.Nodes
[
index].AccessibilityObject
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
320
_selector.SelectedNode = _selector.Nodes
[
_initialActivePage];
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (8)
90
TreeNode lastNode = _treeView1.Nodes
[
_treeView1.Nodes.Count - 1];
93
lastNode = lastNode.Nodes
[
lastNode.Nodes.Count - 1];
611
values[i] = _treeView1.Nodes
[
i].Clone();
629
_treeView1.Nodes
[
tempNode.Index].Nodes.Insert(0, tempNode);
636
parent.Nodes
[
tempNode.Index].Nodes.Insert(0, tempNode);
663
_treeView1.Nodes
[
tempNode.Index - 1].Nodes.Add(tempNode);
681
parent.Nodes
[
tempNode.Index - 1].Nodes.Add(tempNode);
698
&& _curNode != _treeView1.Nodes
[
_treeView1.Nodes.Count - 1];
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (1)
103
? control.Nodes
[
index].AccessibilityObject
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
65
Assert.Throws<ArgumentOutOfRangeException>("index", () => collection
[
index]);