4 references to Contains
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
3262
Debug.Assert(ToolStripPanelRow == null || ToolStripPanelRow.ToolStripPanel.RowsInternal.
Contains
(ToolStripPanelRow), "Why are we in an orphaned row?");
winforms\Managed\System\WinForms\ToolStripPanel.cs (3)
554
if (draggedControl != null && this.RowsInternal.
Contains
(draggedControl.ToolStripPanelRow)) {
1287
!RowsInternal.
Contains
(draggedToolStrip1.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip1.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture),
1294
!RowsInternal.
Contains
(draggedToolStrip2.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip2.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture),