192 references to Add
System.Windows.Forms (7)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1553
TabPages.
Add
(tabPages[i]);
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (6)
95
Add
(tabPage);
99
public void Add(string? text) =>
Add
(new TabPage
104
public void Add(string? key, string? text) =>
Add
(new TabPage
110
public void Add(string? key, string? text, int imageIndex) =>
Add
(new TabPage
117
public void Add(string? key, string? text, string imageKey) =>
Add
(new TabPage
130
Add
(page);
System.Windows.Forms.Design (3)
System\Drawing\Design\ColorEditor.ColorUI.cs (3)
169
_tabControl.TabPages.
Add
(_paletteTabPage);
170
_tabControl.TabPages.
Add
(_commonTabPage);
171
_tabControl.TabPages.
Add
(_systemTabPage);
System.Windows.Forms.Design.Tests (5)
System\Windows\Forms\Design\TabControlDesignerTests.cs (4)
46
tabControl.TabPages.
Add
(tabPage);
69
tabControl.TabPages.
Add
(tabPage);
101
tabControl.TabPages.
Add
(tabPage);
149
tabControl.TabPages.
Add
(tabPage);
System\Windows\Forms\Design\TabPageDesignerTests.cs (1)
54
tabControl.TabPages.
Add
(tabPage);
System.Windows.Forms.Tests (172)
System\Windows\Forms\AccessibleObjects\TabControl.TabControlAccessibleObjectTests.cs (1)
372
pages.
Add
(new TabPage());
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (17)
19
pages.
Add
(new TabPage());
59
pages.
Add
(new TabPage() { Text = text, Name = "Test" });
73
pages.
Add
(new TabPage());
87
pages.
Add
(new TabPage());
104
pages.
Add
(new TabPage());
145
pages.
Add
(new TabPage());
159
pages.
Add
(new TabPage());
199
pages.
Add
(new TabPage());
262
pages.
Add
(new TabPage());
276
pages.
Add
(new TabPage());
290
pages.
Add
(new TabPage());
304
pages.
Add
(new TabPage());
318
pages.
Add
(new TabPage());
332
pages.
Add
(new TabPage());
1082
pages.
Add
(new TabPage() { Enabled = tabPageEnabled });
1097
pages.
Add
(new TabPage());
1112
pages.
Add
(new TabPage());
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (3)
207
pages.
Add
(new TabPage());
226
pages.
Add
(new TabPage());
414
pages.
Add
(new TabPage() { Enabled = tabPageEnabled });
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (21)
52
collection.
Add
(value1);
71
collection.
Add
(value2);
100
collection.
Add
(value1);
185
collection.
Add
(value1);
213
collection.
Add
(value2);
255
collection.
Add
(value1);
355
collection.
Add
(value1);
377
collection.
Add
(value2);
412
collection.
Add
(value1);
506
collection.
Add
(value1);
537
collection.
Add
(value2);
585
collection.
Add
(value1);
743
collection.
Add
(value);
883
Assert.Throws<ArgumentNullException>("value", () => collection.
Add
((TabPage)null));
1725
collection.
Add
(child);
1813
collection.
Add
(child1);
3206
collection.
Add
(child);
3222
collection.
Add
(child);
3681
collection.
Add
(page);
4541
collection.
Add
(value);
5008
TabControl.TabPages.
Add
(page1);
System\Windows\Forms\TabControlTests.cs (104)
1052
control.TabPages.
Add
(page1);
1053
control.TabPages.
Add
(page2);
1054
control.TabPages.
Add
(page3);
1261
control.TabPages.
Add
(page1);
1262
control.TabPages.
Add
(page2);
1457
control.TabPages.
Add
(page1);
1458
control.TabPages.
Add
(page2);
2018
control.TabPages.
Add
(page1);
2019
control.TabPages.
Add
(page2);
2053
control.TabPages.
Add
(page1);
2054
control.TabPages.
Add
(page2);
2120
control.TabPages.
Add
(page1);
2121
control.TabPages.
Add
(page2);
2524
control.TabPages.
Add
(page1);
2525
control.TabPages.
Add
(page2);
2580
control.TabPages.
Add
(page1);
2581
control.TabPages.
Add
(page2);
2672
control.TabPages.
Add
(page1);
2673
control.TabPages.
Add
(page2);
3017
control.TabPages.
Add
(page1);
3018
control.TabPages.
Add
(page2);
3068
control.TabPages.
Add
(page1);
3069
control.TabPages.
Add
(page2);
3185
control.TabPages.
Add
(page1);
3186
control.TabPages.
Add
(page2);
3202
control.TabPages.
Add
(page1);
3203
control.TabPages.
Add
(page2);
3259
control.TabPages.
Add
(page1);
3260
control.TabPages.
Add
(page2);
3385
control.TabPages.
Add
(page1);
3386
control.TabPages.
Add
(page2);
3396
control.TabPages.
Add
(page1);
3397
control.TabPages.
Add
(page2);
3447
control.TabPages.
Add
(page1);
3448
control.TabPages.
Add
(page2);
3568
control.TabPages.
Add
(page1);
3569
control.TabPages.
Add
(page2);
3620
control.TabPages.
Add
(page1);
3621
control.TabPages.
Add
(page2);
3645
control.TabPages.
Add
(page1);
3646
control.TabPages.
Add
(page2);
3656
control.TabPages.
Add
(page1);
3657
control.TabPages.
Add
(page2);
3681
control.TabPages.
Add
(page1);
3682
control.TabPages.
Add
(page2);
3725
control.TabPages.
Add
(page);
3754
control.TabPages.
Add
(page);
3793
control.TabPages.
Add
(page1);
3814
control.TabPages.
Add
(page1);
3844
control.TabPages.
Add
(page1);
3845
control.TabPages.
Add
(page2);
3872
control.TabPages.
Add
(page1);
3873
control.TabPages.
Add
(page2);
3885
control.TabPages.
Add
(page);
3912
control.TabPages.
Add
(page1);
3913
control.TabPages.
Add
(page2);
3923
control.TabPages.
Add
(page1);
3924
control.TabPages.
Add
(page2);
4144
control.TabPages.
Add
(page1);
4145
control.TabPages.
Add
(page2);
4280
control.TabPages.
Add
(page1);
4281
control.TabPages.
Add
(page2);
4455
control.TabPages.
Add
(page1);
4456
control.TabPages.
Add
(page2);
4618
control.TabPages.
Add
(page1);
4619
control.TabPages.
Add
(page2);
4693
control.TabPages.
Add
(page1);
4694
control.TabPages.
Add
(page2);
4774
control.TabPages.
Add
(page1);
4775
control.TabPages.
Add
(page2);
4884
control.TabPages.
Add
(page1);
4885
control.TabPages.
Add
(page2);
4926
control.TabPages.
Add
(page1);
4927
control.TabPages.
Add
(page2);
4928
control.TabPages.
Add
(page3);
5005
control.TabPages.
Add
(child1);
5006
control.TabPages.
Add
(child2);
5007
control.TabPages.
Add
(child3);
5110
control.TabPages.
Add
(child1);
5111
control.TabPages.
Add
(child2);
5112
control.TabPages.
Add
(child3);
5182
control.TabPages.
Add
(child1);
5183
control.TabPages.
Add
(child2);
5184
control.TabPages.
Add
(child3);
5197
control.TabPages.
Add
(page1);
5198
control.TabPages.
Add
(page2);
5237
control.TabPages.
Add
(page1);
5238
control.TabPages.
Add
(page2);
5341
control.TabPages.
Add
(page1);
5342
control.TabPages.
Add
(page2);
5358
control.TabPages.
Add
(page1);
5359
control.TabPages.
Add
(page2);
5404
control.TabPages.
Add
(page1);
5405
control.TabPages.
Add
(page2);
5511
control.TabPages.
Add
(page1);
5512
control.TabPages.
Add
(page2);
5522
control.TabPages.
Add
(page1);
5523
control.TabPages.
Add
(page2);
5562
control.TabPages.
Add
(page1);
5563
control.TabPages.
Add
(page2);
5663
control.TabPages.
Add
(page1);
5664
control.TabPages.
Add
(page2);
5681
control.TabPages.
Add
(page1);
5682
control.TabPages.
Add
(page2);
System\Windows\Forms\TabPageTests.cs (26)
1379
owner.TabPages.
Add
(page1);
1380
owner.TabPages.
Add
(page2);
1381
owner.TabPages.
Add
(page3);
1446
owner.TabPages.
Add
(page1);
1447
owner.TabPages.
Add
(page2);
1448
owner.TabPages.
Add
(page3);
1754
owner.TabPages.
Add
(page1);
1755
owner.TabPages.
Add
(page2);
1756
owner.TabPages.
Add
(page3);
1818
owner.TabPages.
Add
(page1);
1819
owner.TabPages.
Add
(page2);
1820
owner.TabPages.
Add
(page3);
3010
owner.TabPages.
Add
(page1);
3011
owner.TabPages.
Add
(page2);
3012
owner.TabPages.
Add
(page3);
3077
owner.TabPages.
Add
(page1);
3078
owner.TabPages.
Add
(page2);
3079
owner.TabPages.
Add
(page3);
3383
owner.TabPages.
Add
(page1);
3384
owner.TabPages.
Add
(page2);
3385
owner.TabPages.
Add
(page3);
3447
owner.TabPages.
Add
(page1);
3448
owner.TabPages.
Add
(page2);
3449
owner.TabPages.
Add
(page3);
4964
tabControl.TabPages.
Add
(new TabPage());
5032
tabControl.TabPages.
Add
(page);
System.Windows.Forms.UI.IntegrationTests (5)
TabControlTests.cs (5)
90
tabControl.TabPages.
Add
(tabPage1);
91
tabControl.TabPages.
Add
(tabPage2);
142
tabControl.TabPages.
Add
(tabPage1);
143
tabControl.TabPages.
Add
(tabPage2);
144
tabControl.TabPages.
Add
(tabPage3);