32 references to Insert
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
805
DisplayedItems.
Insert
(0, UpScrollButton);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (2)
304
void IList.Insert(int index, object? value) {
Insert
(index, (ToolStripItem)value!); }
503
Insert
(index, value);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (4)
1194
destinationItems.
Insert
(indexOfDestinationItem, source);
1215
destinationItems.
Insert
(insertIndex, source);
1320
historyItem.PreviousIndexCollection!.
Insert
(Math.Min(historyItem.PreviousIndex, historyItem.PreviousIndexCollection.Count), historyItem.TargetItem!);
1323
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)
886
ToolStrip.Items.
Insert
(indexToInsert, newItem);
892
ToolStrip.Items.
Insert
(count - 1, newItem);
1916
parentToolStrip.Items.
Insert
(0, components[i] as ToolStripItem);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
743
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)
819
parent.Items.
Insert
(dummyIndex, newItem);
865
parent.Items.
Insert
(dummyIndex, ToolStripItem);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (10)
1328
MenuItem.DropDownItems.
Insert
(index, _commitedEditorNode);
1667
MenuItem.DropDown.Items.
Insert
(_indexToInsertNewItem, newItem);
1671
MenuItem.DropDownItems.
Insert
(_indexToInsertNewItem, newItem);
1685
MenuItem.DropDown.Items.
Insert
(index + 1, newItem);
1689
MenuItem.DropDownItems.
Insert
(index + 1, newItem);
1696
MenuItem.DropDown.Items.
Insert
(index, newItem);
1700
MenuItem.DropDownItems.
Insert
(index, newItem);
1713
MenuItem.DropDown.Items.
Insert
(count - 1, newItem);
1717
MenuItem.DropDownItems.
Insert
(count - 1, newItem);
2025
MenuItem.DropDownItems.
Insert
(0, item);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
863
_miniToolStrip.Items.
Insert
(index, _centerTextBox);
908
_miniToolStrip.Items.
Insert
(index, _centerLabel);