81 references to AddRange
Accessibility_Core_App (24)
DataControls.Designer.cs (1)
77
this.bindingNavigator1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
Menu_Toolbars_controls.Designer.cs (13)
110
menuStrip1.Items.
AddRange
(new ToolStripItem[] { fileToolStripMenuItem, editToolStripMenuItem, toolsToolStripMenuItem, helpToolStripMenuItem, toolStripMenuItem1, toolStripComboBox1, toolStripTextBox1 });
123
contextMenuStrip1.Items.
AddRange
(new ToolStripItem[] { menuStripToolStripMenuItem, shortCutsToolStripMenuItem });
130
menuStripToolStripMenuItem.DropDownItems.
AddRange
(new ToolStripItem[] { item1ToolStripMenuItem });
143
shortCutsToolStripMenuItem.DropDownItems.
AddRange
(new ToolStripItem[] { item2ToolStripMenuItem });
156
fileToolStripMenuItem.DropDownItems.
AddRange
(new ToolStripItem[] { newToolStripMenuItem, openToolStripMenuItem, toolStripSeparator, saveToolStripMenuItem, saveAsToolStripMenuItem, toolStripSeparator1, printToolStripMenuItem, printPreviewToolStripMenuItem, toolStripSeparator2, exitToolStripMenuItem });
235
editToolStripMenuItem.DropDownItems.
AddRange
(new ToolStripItem[] { undoToolStripMenuItem, redoToolStripMenuItem, toolStripSeparator3, cutToolStripMenuItem, copyToolStripMenuItem, pasteToolStripMenuItem, toolStripSeparator4, selectAllToolStripMenuItem });
300
toolsToolStripMenuItem.DropDownItems.
AddRange
(new ToolStripItem[] { customizeToolStripMenuItem, optionsToolStripMenuItem });
320
helpToolStripMenuItem.DropDownItems.
AddRange
(new ToolStripItem[] { contentsToolStripMenuItem, indexToolStripMenuItem, searchToolStripMenuItem, toolStripSeparator5, aboutToolStripMenuItem });
357
toolStripMenuItem1.DropDownItems.
AddRange
(new ToolStripItem[] { uncheckedCheckOnClickToolStripMenuItem, checkCheckOnClickToolStripMenuItem, checkedCheckOnClickFToolStripMenuItem, indeterminateToolStripMenuItem, indeterminateCheckOnClickFToolStripMenuItem });
421
statusStrip1.Items.
AddRange
(new ToolStripItem[] { toolStripDropDownButton1, toolStripSplitButton1, toolStripStatusLabel1, toolStripProgressBar1 });
434
toolStripDropDownButton1.DropDownItems.
AddRange
(new ToolStripItem[] { toolStripSeparator9, toolStripTextBox3, toolStripMenuItem3 });
460
toolStripSplitButton1.DropDownItems.
AddRange
(new ToolStripItem[] { toolStripTextBox2, toolStripSeparator8, toolStripComboBox2, toolStripMenuItem2 });
504
toolStrip1.Items.
AddRange
(new ToolStripItem[] { newToolStripButton, toolStripSeparator7, toolStripButton1, toolStripButton2, toolStripButton3, toolStripButton4, toolStripButton5, toolStripButton6 });
ToolStripContainer.Designer.cs (10)
122
this.toolStrip1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
162
this.toolStripSplitButton1.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
274
this.statusStrip1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
291
this.toolStripDropDownButton1.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
332
this.menuStrip1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
348
this.menuStripToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
364
this.fileToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
449
this.editToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
517
this.toolsToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
539
this.helpToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
DesignSurface (4)
MainForm.Designer.cs (4)
163
this.menuStrip1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
176
this.editToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
264
this.toolStripMenuItemTools.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
279
this.helpToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
160
Items.
AddRange
(items);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
50
DropDownItems.
AddRange
(dropDownItems);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
39
AddRange
(value);
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
219
Items.
AddRange
(
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
45
Items.
AddRange
(_minimize, _restore, _close, _system);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
786
_toolStrip1.Items.
AddRange
(
808
_zoomToolStripSplitButton.DropDownItems.
AddRange
(
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
355
menu.Items.
AddRange
((ToolStripItem[])[add, insert, delete, separator, label, absolute, percent, autosize]);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
160
_alignmentToolStripMenuItem.DropDownItems.
AddRange
((ToolStripItem[])[_leftToolStripMenuItem, _rightToolStripMenuItem]);
163
_displayStyleToolStripMenuItem.DropDownItems.
AddRange
((ToolStripItem[])[_noneStyleToolStripMenuItem, _textStyleToolStripMenuItem, _imageStyleToolStripMenuItem, _imageTextStyleToolStripMenuItem]);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1391
_miniToolStrip.Items.
AddRange
((ToolStripItem[])[_centerLabel]);
1457
_miniToolStrip.Items.
AddRange
((ToolStripItem[])
System.Windows.Forms.Tests (19)
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (4)
120
control.DropDown.Items.
AddRange
(new[] { item1, item2 });
138
control.DropDown.Items.
AddRange
(new[] { item1, item2 });
157
control.DropDown.Items.
AddRange
(new[] { item1, item2 });
193
control.DropDownItems.
AddRange
(new[] { item1, item2 });
System\Windows\Forms\ControlTests.cs (4)
935
toolStrip1.Items.
AddRange
((ToolStripItem[])
945
toolStrip2.Items.
AddRange
((ToolStripItem[])
992
toolStrip1.Items.
AddRange
((ToolStripItem[])
1002
toolStrip2.Items.
AddRange
((ToolStripItem[])
System\Windows\Forms\MdiControlStripTests.cs (3)
201
menuStrip.Items.
AddRange
((ToolStripMenuItem[])[toolStripMenuItem1, toolStripMenuItem2]);
247
menuStrip.Items.
AddRange
((ToolStripMenuItem[])[toolStripMenuItem1, toolStripMenuItem2]);
292
menuStrip.Items.
AddRange
((ToolStripMenuItem[])[toolStripMenuItem1, toolStripMenuItem2]);
System\Windows\Forms\ToolStripItemCollectionTests.cs (2)
293
toolStrip1.Items.
AddRange
(items);
323
toolStrip1.Items.
AddRange
(items);
System\Windows\Forms\ToolStripItemTests.cs (1)
15431
menuStrip1.Items.
AddRange
(new ToolStripMenuItem[] { toolStripMenuItem1, toolStripMenuItem2, toolStripMenuItem3 });
System\Windows\Forms\ToolStripTests.cs (5)
4814
toolStrip.Items.
AddRange
((ToolStripButton[])[toolStripButton1, toolStripButton2, toolStripButton3]);
4835
toolStrip.Items.
AddRange
((ToolStripButton[])[toolStripButton1, toolStripButton2, toolStripButton3]);
4860
toolStrip.Items.
AddRange
((ToolStripButton[])[toolStripButton1, toolStripButton2, toolStripButton3]);
4881
toolStrip.Items.
AddRange
((ToolStripButton[])[toolStripButton1, toolStripButton2, toolStripButton3]);
7295
toolStrip.Items.
AddRange
((ToolStripItem[])[toolStripMenuItem1, toolStripMenuItem2, toolStripMenuItem3]);
System.Windows.Forms.UI.IntegrationTests (2)
MenuStripTests.cs (2)
19
toolStripMenuItem1.DropDownItems.
AddRange
(toolStripMenuItem2, toolStripMenuItem3);
20
menuStrip.Items.
AddRange
(toolStripMenuItem1);
WinFormsControlsTest (20)
MenuStripAndCheckedListBox.Designer.cs (7)
67
this.menuStrip1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
83
this.fileToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
116
this.memoryCardFileToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
128
this.navigationToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
137
this.newToolStripMenuItem1.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
145
this.settingsEditorToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
209
this.checkStateSamplesToolStripMenuItem.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
ToolStripSeparatorPreferredSize.cs (1)
43
_toolStrip1.Items.
AddRange
((ToolStripItem[])
ToolStripTests.Designer.cs (12)
83
this.toolStrip1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
97
this.toolStrip2.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
117
this.toolStrip3.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
129
this.toolStrip4.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
148
this.toolStrip4_MenuItem1.DropDownItems.
AddRange
(new ToolStripItem[] { toolStrip4_SubMenuItem });
230
this.toolStrip3_MenuItem2.DropDownItems.
AddRange
(new ToolStripItem[] { uncheckedCheckOnClickToolStripMenuItem, checkCheckOnClickToolStripMenuItem, checkedCheckOnClickFToolStripMenuItem, indeterminateToolStripMenuItem, indeterminateCheckOnClickFToolStripMenuItem });
251
this.checkCheckOnClickToolStripMenuItem.DropDownItems.
AddRange
(new ToolStripItem[] { thirdLevelItem, thirdLevelButton, toolStripComboBox2, toolStripTextBox2, toolStrip2_SplitButton2, toolStrip2_DropDownButton2 });
285
this.toolStrip2_SplitButton2.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
303
this.toolStrip2_DropDownButton2.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
345
this.toolStrip2_SplitButton1.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
368
this.toolStrip2_DropDownButton1.DropDownItems.
AddRange
(new System.Windows.Forms.ToolStripItem[] {
378
this.statusStrip1.Items.
AddRange
(new System.Windows.Forms.ToolStripItem[] {