9 references to IndexOf
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ToolStripPanel.cs (7)
1101
int index = RowsInternal.
IndexOf
(row);
1104
if (index > 0 && index-1 == RowsInternal.
IndexOf
(currentToolStripPanelRow)) {
1138
if (RowsInternal.
IndexOf
(row) > 0) {
1237
int goodRowIndex = (currentlyAssignedRow != null) ? RowsInternal.
IndexOf
(currentlyAssignedRow) : -1;
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),
1447
int IList.IndexOf(object value) { return
IndexOf
(value as ToolStripPanelRow); }
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
960
int index = ToolStripPanel.RowsInternal.
IndexOf
(Row);
1468
int index = ToolStripPanel.RowsInternal.
IndexOf
(Row);