50 references to Insert
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
782
DisplayedItems.
Insert
(0, UpScrollButton);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (2)
297
void IList.Insert(int index, object? value) {
Insert
(index, (ToolStripItem)value!); }
502
Insert
(index, value);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (4)
1210
destinationItems.
Insert
(indexOfDestinationItem, source);
1231
destinationItems.
Insert
(insertIndex, source);
1336
historyItem.PreviousIndexCollection!.
Insert
(Math.Min(historyItem.PreviousIndex, historyItem.PreviousIndexCollection.Count), historyItem.TargetItem!);
1339
historyItem.IndexCollection!.
Insert
(Math.Min(historyItem.Index, historyItem.IndexCollection.Count), historyItem.TargetItem!);
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
200
toolStrip.Items.
Insert
(i, value.Items[key]!);
System.Windows.Forms.Design (24)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (1)
145
Items.
Insert
(index, _selectionMenuItem);
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
111
parent.Items.
Insert
(dummyIndex, (ToolStripItem)component);
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
922
ToolStrip.Items.
Insert
(indexToInsert, newItem);
928
ToolStrip.Items.
Insert
(count - 1, newItem);
1919
parentToolStrip.Items.
Insert
(0, components[i] as ToolStripItem);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
752
parentToolStrip.Items.
Insert
(indexOfItemUnderMouseToDrop, item);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (4)
397
parent.Items.
Insert
(dummyIndex, (ToolStripItem)component);
449
parent.Items.
Insert
(dummyIndex, (ToolStripItem)component);
488
parent.Items.
Insert
(dummyIndex, (ToolStripItem)component);
545
parent.Items.
Insert
(dummyIndex, (ToolStripItem)component);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
840
parent.Items.
Insert
(dummyIndex, newItem);
886
parent.Items.
Insert
(dummyIndex, ToolStripItem);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (10)
1377
MenuItem.DropDownItems.
Insert
(index, _commitedEditorNode);
1716
MenuItem.DropDown.Items.
Insert
(_indexToInsertNewItem, newItem);
1720
MenuItem.DropDownItems.
Insert
(_indexToInsertNewItem, newItem);
1734
MenuItem.DropDown.Items.
Insert
(index + 1, newItem);
1738
MenuItem.DropDownItems.
Insert
(index + 1, newItem);
1745
MenuItem.DropDown.Items.
Insert
(index, newItem);
1749
MenuItem.DropDownItems.
Insert
(index, newItem);
1762
MenuItem.DropDown.Items.
Insert
(count - 1, newItem);
1766
MenuItem.DropDownItems.
Insert
(count - 1, newItem);
2083
MenuItem.DropDownItems.
Insert
(0, item);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
905
_miniToolStrip.Items.
Insert
(index, _centerTextBox);
950
_miniToolStrip.Items.
Insert
(index, _centerLabel);
System.Windows.Forms.Tests (18)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (6)
362
menuStrip.Items.
Insert
(0, CreateSkippedItem());
426
menuStrip.Items.
Insert
(0, CreateSkippedItem());
444
menuStrip.Items.
Insert
(0, CreateSkippedItem());
657
menuStrip.Items.
Insert
(0, CreateSkippedItem());
679
menuStrip.Items.
Insert
(0, CreateSkippedItem());
827
menuStrip.Items.
Insert
(1, CreateSkippedItem());
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (6)
342
statusStrip.Items.
Insert
(0, CreateSkippedItem());
406
statusStrip.Items.
Insert
(0, CreateSkippedItem());
424
statusStrip.Items.
Insert
(0, CreateSkippedItem());
637
statusStrip.Items.
Insert
(0, CreateSkippedItem());
659
statusStrip.Items.
Insert
(0, CreateSkippedItem());
807
statusStrip.Items.
Insert
(1, CreateSkippedItem());
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (6)
355
toolStrip.Items.
Insert
(0, CreateSkippedItem());
419
toolStrip.Items.
Insert
(0, CreateSkippedItem());
437
toolStrip.Items.
Insert
(0, CreateSkippedItem());
650
toolStrip.Items.
Insert
(0, CreateSkippedItem());
672
toolStrip.Items.
Insert
(0, CreateSkippedItem());
820
toolStrip.Items.
Insert
(1, CreateSkippedItem());