4 references to FindString
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1885
public int FindString(string? s) =>
FindString
(s, startIndex: -1);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
313
public int FindString(string? s, int startIndex) { return ComboBox.
FindString
(s, startIndex); }
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComboBoxTests.cs (2)
1579
Assert.Equal(expected, control.
FindString
(s, startIndex));
1590
Assert.Throws<ArgumentOutOfRangeException>("startIndex", () => control.
FindString
("s", startIndex));