20 references to GetNextControl
System.Windows.Forms (9)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
405for (Control? previous = container.GetNextControl(owner, false); 407previous = container.GetNextControl(previous, false))
System\Windows\Forms\Control.cs (2)
5666return ctl.ToolStripControlHost is not null ? GetNextControl(ctl._parent, forward: false) : parent; 9883ctl = GetNextControl(ctl, forward);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
439ctl = GetNextControl(ctl, true); 1279ctl = GetNextControl(ctl, true);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (3)
1837ctl = GetNextControl(ctl, forward); 1939ctl = GetNextControl(ctl, forward); 1973ctl = GetNextControl(ctl, forward);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TabOrder.cs (1)
730while ((control = form.GetNextControl(control, forward)) is not null)
System.Windows.Forms.Tests (10)
System\Windows\Forms\ControlTests.cs (6)
790Control nextControl1 = control.GetNextControl(button1, forward: true); 791Control nextControl2 = control.GetNextControl(button2, forward: true); 792Control nextControl3 = control.GetNextControl(button3, forward: true); 809Control previousControl1 = control.GetNextControl(button1, forward: false); 810Control previousControl2 = control.GetNextControl(button2, forward: false); 811Control previousControl3 = control.GetNextControl(button3, forward: false);
System\Windows\Forms\ControlTests.Methods.cs (4)
2229Assert.Equal(second, cont.GetNextControl(first, true)); 2257Assert.Equal(first, cont.GetNextControl(second, false)); 2285Assert.Null(cont.GetNextControl(third, true)); 2313Assert.Null(cont.GetNextControl(first, false));