6 references to Contains
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
148
return
Contains
(tabPage);
System.Windows.Forms.Tests (5)
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (5)
1553
Assert.True(collection.
Contains
(child1));
1554
Assert.True(collection.
Contains
(child2));
1555
Assert.False(collection.
Contains
(new TabPage()));
1563
Assert.False(collection.
Contains
(new TabPage()));
1571
Assert.Throws<ArgumentNullException>("page", () => collection.
Contains
(null));