9 references to Find
System.Windows.Forms.Tests (8)
System\Windows\Forms\RichTextBoxTests.cs (8)
7923
Assert.Equal(2, control.
Find
("Test"));
7924
Assert.Equal(7, control.
Find
("Example"));
7925
Assert.Equal(15, control.
Find
("Meow"));
7926
Assert.Equal(20, control.
Find
("Woof"));
7961
Assert.Equal(expected, control.
Find
(str));
8154
Assert.Equal(expected, control.
Find
(str));
8431
Assert.Throws<ArgumentNullException>("str", () => control.
Find
((string)null));
8449
Assert.Throws<ArgumentNullException>("str", () => control.
Find
((string)null));
WinFormsControlsTest (1)
RichTextBoxes.cs (1)
99
int location = richTextBox.
Find
(Prompt.ShowDialog(this, "", ""));