47 references to AddRange
Accessibility_Core_App (4)
CommonControl1.Designer.cs (2)
320
this.comboBox2.Items.
AddRange
(new object[] {
345
this.comboBox1.Items.
AddRange
(new object[] {
DataControls.Designer.cs (1)
234
this.toolStripComboBox1.Items.
AddRange
(new object[] {
ToolStripContainer.Designer.cs (1)
261
this.toolStripComboBox1.Items.
AddRange
(new object[] {
DesignSurface (1)
MainForm.cs (1)
198
cb1.Items.
AddRange
(new string[] { "a1", "b2", "c3" });
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1301
comboBox.Items.
AddRange
([.. Items.InnerArray]);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
296
_columnsOrRowsComboBox.Items.
AddRange
(
System.Windows.Forms.Tests (24)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
489
comboBox.Items.
AddRange
(
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (8)
29
control.Items.
AddRange
(new[] { item1, item2, item3 });
92
comboBox.Items.
AddRange
(new[] { "aaa", "aaa", "aaa" });
131
comboBox.Items.
AddRange
(new[] { "aaa", "aaa", "aaa" });
196
comboBox.Items.
AddRange
(new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" });
215
comboBox.Items.
AddRange
(new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" });
248
comboBox.Items.
AddRange
(new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" });
387
comboBox.Items.
AddRange
(new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" });
449
comboBox.Items.
AddRange
(new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" });
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (1)
102
comboBox.Items.
AddRange
(Enumerable.Range(0, 11).Cast<object>().ToArray());
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (11)
246
comboBoxObjectCollection.
AddRange
(new string[] { "a", "b" });
270
comboBoxObjectCollection.
AddRange
(new Person[] { person1, person2, person3 });
293
comboBoxObjectCollection.
AddRange
(new string[] { "c", "a", "b" });
324
comboBoxObjectCollection.
AddRange
(new Person[] { person3, person1, person2 });
354
comboBoxObjectCollection.
AddRange
(["Name 2", person1, person2]);
375
Assert.Throws<ArgumentNullException>("items", () => comboBoxObjectCollection.
AddRange
(null));
396
Assert.Throws<ArgumentException>(() => comboBoxObjectCollection.
AddRange
(new string[] { "a", "b" }));
412
comboBoxObjectCollection.
AddRange
(new string[] { "c", "a", "b" });
430
comboBoxObjectCollection.
AddRange
(new string[] { "a", "b" });
480
comboBoxObjectCollection.
AddRange
(new string[] { "a", "b" });
508
comboBoxObjectCollection.
AddRange
([person1, person2]);
System\Windows\Forms\ComboBoxTests.cs (2)
2577
ownerDrawComboBox.Items.
AddRange
(
2698
control.Items.
AddRange
(new string[] { "Item1", "Item2", "Item3" });
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
186
_toolStripComboBox.Items.
AddRange
(items);
TrimTest (1)
Form1.Designer.cs (1)
80
comboBox1.Items.
AddRange
(new object[] { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" });
WinFormsControlsTest (15)
Calendar.Designer.cs (1)
142
this.daysOfWeekComboBox.Items.
AddRange
(new object[] {
ComboBoxes.Designer.cs (12)
56
this.comboBox1.Items.
AddRange
(new object[] {
70
this.comboBox2.Items.
AddRange
(new object[] {
88
this.comboBox3.Items.
AddRange
(new object[] {
108
this.comboBox4.Items.
AddRange
(new object[] {
122
this.comboBox5.Items.
AddRange
(new object[] {
134
this.comboBox6.Items.
AddRange
(new object[] {
146
this.comboBox7.Items.
AddRange
(new object[] {
159
this.comboBox8.Items.
AddRange
(new object[] {
172
this.comboBox9.Items.
AddRange
(new object[] {
185
this.comboBox10.Items.
AddRange
(new object[] {
197
this.comboBox11.Items.
AddRange
(new object[] {
212
this.comboBox12.Items.
AddRange
(new object[] {
ToolStripTests.Designer.cs (2)
274
this.toolStripComboBox2.Items.
AddRange
(new object[] { "1", "2", "3", "4", "5" });
419
this.toolStripComboBox1.Items.
AddRange
(new object[] { "1", "2", "3", "4", "5" });