Implemented interface member:
14 references to Insert
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
342
_keyComboBox.Items.
Insert
(0, SR.ShortcutKeys_InvalidKey);
System.Windows.Forms.Tests (13)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
469
comboBox.Items.
Insert
(0, "h");
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (11)
632
comboBoxObjectCollection.
Insert
(0, "c");
661
comboBoxObjectCollection.
Insert
(0, person3);
687
comboBoxObjectCollection.
Insert
(0, "c");
718
comboBoxObjectCollection.
Insert
(0, person3);
748
comboBoxObjectCollection.
Insert
(0, person2);
749
comboBoxObjectCollection.
Insert
(0, "Name 4");
771
Assert.Throws<ArgumentNullException>("item", () => comboBoxObjectCollection.
Insert
(0, null));
788
Assert.Throws<ArgumentOutOfRangeException>("index", () => comboBoxObjectCollection.
Insert
(-1, 1));
805
Assert.Throws<ArgumentOutOfRangeException>("index", () => comboBoxObjectCollection.
Insert
(3, 1));
826
Assert.Throws<ArgumentException>(() => comboBoxObjectCollection.
Insert
(3, 1));
1467
comboBox.Items.
Insert
(1, "Item3");
System\Windows\Forms\ComboBoxTests.cs (1)
2436
comboBox.Items.
Insert
(index, item);