9 references to GetChildIndex
System.Windows.Forms (3)
System\Windows\Forms\Control.ControlCollection.cs (1)
423int currentIndex = GetChildIndex(child);
System\Windows\Forms\Control.cs (2)
10956int currentIndex = Controls.GetChildIndex(control); 11027for (int i = Controls.GetChildIndex(control); --i >= 0;)
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\CommandSet.cs (2)
3513return c1.Parent == c2.Parent && c1.Parent is not null ? c1.Parent.Controls.GetChildIndex(c1) - c1.Parent.Controls.GetChildIndex(c2) : 1;
System\Windows\Forms\Design\ControlCommandSet.cs (2)
1733else if (parent.Controls.GetChildIndex(cX) > parent.Controls.GetChildIndex(cY))
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
656int childIndex = parent.Controls.GetChildIndex(children[i]); 2424int childIndex = parent.Controls.GetChildIndex(c);