20 references to GetNextControl
System.Windows.Forms (9)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
406
for (Control? previous = container.
GetNextControl
(owner, false);
408
previous = container.
GetNextControl
(previous, false))
System\Windows\Forms\Control.cs (2)
5668
return ctl.ToolStripControlHost is not null ?
GetNextControl
(ctl._parent, forward: false) : parent;
9894
ctl =
GetNextControl
(ctl, forward);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
440
ctl =
GetNextControl
(ctl, true);
1286
ctl =
GetNextControl
(ctl, true);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (3)
1837
ctl =
GetNextControl
(ctl, forward);
1939
ctl =
GetNextControl
(ctl, forward);
1973
ctl =
GetNextControl
(ctl, forward);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TabOrder.cs (1)
730
while ((control = form.
GetNextControl
(control, forward)) is not null)
System.Windows.Forms.Tests (10)
System\Windows\Forms\ControlTests.cs (6)
788
Control nextControl1 = control.
GetNextControl
(button1, forward: true);
789
Control nextControl2 = control.
GetNextControl
(button2, forward: true);
790
Control nextControl3 = control.
GetNextControl
(button3, forward: true);
807
Control previousControl1 = control.
GetNextControl
(button1, forward: false);
808
Control previousControl2 = control.
GetNextControl
(button2, forward: false);
809
Control previousControl3 = control.
GetNextControl
(button3, forward: false);
System\Windows\Forms\ControlTests.Methods.cs (4)
2269
Assert.Equal(second, cont.
GetNextControl
(first, true));
2297
Assert.Equal(first, cont.
GetNextControl
(second, false));
2325
Assert.Null(cont.
GetNextControl
(third, true));
2353
Assert.Null(cont.
GetNextControl
(first, false));