20 references to GetNextControl
System.Windows.Forms (9)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
406for (Control? previous = container.GetNextControl(owner, false); 408previous = container.GetNextControl(previous, false))
System\Windows\Forms\Control.cs (2)
5668return ctl.ToolStripControlHost is not null ? GetNextControl(ctl._parent, forward: false) : parent; 9894ctl = GetNextControl(ctl, forward);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
440ctl = GetNextControl(ctl, true); 1286ctl = 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)
788Control nextControl1 = control.GetNextControl(button1, forward: true); 789Control nextControl2 = control.GetNextControl(button2, forward: true); 790Control nextControl3 = control.GetNextControl(button3, forward: true); 807Control previousControl1 = control.GetNextControl(button1, forward: false); 808Control previousControl2 = control.GetNextControl(button2, forward: false); 809Control previousControl3 = control.GetNextControl(button3, forward: false);
System\Windows\Forms\ControlTests.Methods.cs (4)
2269Assert.Equal(second, cont.GetNextControl(first, true)); 2297Assert.Equal(first, cont.GetNextControl(second, false)); 2325Assert.Null(cont.GetNextControl(third, true)); 2353Assert.Null(cont.GetNextControl(first, false));