6 writes to children
System.Windows.Forms (6)
winforms\Managed\System\WinForms\TreeNode.cs (6)
1165
children
= newOrder;
1189
children
= newOrder;
1242
children
= null;
1301
node.
children
= new TreeNode[childCount];
1508
children
= new TreeNode[size];
1517
children
= bigger;
39 references to children
System.Windows.Forms (39)
winforms\Managed\System\WinForms\TreeNode.cs (34)
434
return
children
[0];
654
return
children
[childCount-1];
1093
if (compare.Compare(
children
[childCount-1].Text, nodeText) <= 0)
1099
if (compare.Compare(
children
[iT].Text, nodeText) <= 0)
1113
if (sorter.Compare(
children
[iT] /*previous*/, node/*current*/) <= 0)
1149
if (
children
[j] == null)
1155
if (compare.Compare(
children
[j].Text,
children
[min].Text) <= 0)
1160
newOrder[i] =
children
[min];
1161
children
[min] = null;
1173
if (
children
[j] == null)
1179
if (sorter.Compare(
children
[j] /*previous*/,
children
[min] /*current*/) <= 0)
1184
newOrder[i] =
children
[min];
1185
children
[min] = null;
1240
children
[childCount - 1].Remove(true);
1303
node.Nodes.Add((TreeNode)
children
[i].Clone());
1339
if (tv.SelectedNode ==
children
[i]) {
1342
children
[i].DoCollapse(tv);
1343
children
[i].Collapse();
1507
if (
children
== null) {
1510
else if (childCount + num >
children
.Length) {
1516
System.Array.Copy(
children
, 0, bigger, 0, childCount);
1583
children
[i].ExpandAll();
1621
total +=
children
[i].GetNodeCount(true);
1636
(
children
[i] =
children
[i-1]).index = i;
1638
children
[index] = node;
1746
children
[i].Realize(true);
1781
children
[i].Remove(false);
1786
(parent.
children
[i] = parent.
children
[i+1]).index = i;
1791
parent.
children
[parent.childCount - 1] = null;
1878
si.AddValue("children" + i,
children
[i], typeof(TreeNode));
winforms\Managed\System\WinForms\TreeNodeCollection.cs (5)
67
return owner.
children
[index];
74
owner.
children
[index] = value;
341
owner.
children
[node.index] = node;
582
System.Array.Copy(owner.
children
, 0, dest, index, owner.childCount);
627
return new WindowsFormsUtils.ArraySubsetEnumerator(owner.
children
, owner.childCount);