4 references to Contains
System.Windows.Forms (4)
winforms\Managed\System\WinForms\StatusStrip.cs (2)
339
inDisplayedItemCollecton = DisplayedItems.
Contains
(item);
348
if (itemCount != DisplayedItems.Count || (item != null && (inDisplayedItemCollecton != DisplayedItems.
Contains
(item)))) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
2494
if (this.ParentInternal.Items.
Contains
(this) && this.ParentInternal.AllowItemReorder) {
2535
Debug.Assert(this.Owner.Items.
Contains
(this), "How can there be a owner and not be in the collection?");