Base:
method
Add
System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)
43 references to Add
System.Windows.Forms.Tests (43)
System\Windows\Forms\TabControl.ControlCollectionTests.cs (43)
67
collection.
Add
(value1);
85
collection.
Add
(value2);
113
collection.
Add
(value1);
197
collection.
Add
(value1);
224
collection.
Add
(value2);
265
collection.
Add
(value1);
364
collection.
Add
(value1);
385
collection.
Add
(value2);
419
collection.
Add
(value1);
512
collection.
Add
(value1);
542
collection.
Add
(value2);
589
collection.
Add
(value1);
666
collection.
Add
(value);
700
collection.
Add
(value);
723
collection.
Add
(value);
740
collection.
Add
(value);
765
collection.
Add
(page1);
766
collection.
Add
(page2);
767
collection.
Add
(page3);
833
collection.
Add
(page1);
834
collection.
Add
(page2);
835
collection.
Add
(page3);
876
Assert.Throws<ArgumentException>(() => collection.
Add
(value));
884
Assert.Throws<ArgumentNullException>(() => collection.
Add
(null));
1122
collection.
Add
(value1);
1123
collection.
Add
(value2);
1234
collection.
Add
(value1);
1235
collection.
Add
(value2);
1358
collection.
Add
(value1);
1359
collection.
Add
(value2);
1360
collection.
Add
(value3);
1361
collection.
Add
(value4);
1395
collection.
Add
(value1);
1396
collection.
Add
(value2);
1397
collection.
Add
(value3);
1398
collection.
Add
(value4);
1435
collection.
Add
(value);
1474
collection.
Add
(page1);
1475
collection.
Add
(page2);
1476
collection.
Add
(page3);
1532
collection.
Add
(page1);
1533
collection.
Add
(page2);
1534
collection.
Add
(page3);