647 references to AffectedControl
System.Windows.Forms (1)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
595
if (levent is not null && levent.
AffectedControl
is not null && AutoScroll)
System.Windows.Forms.Tests (644)
System\Windows\Forms\ButtonBaseTests.cs (18)
1149
Assert.Same(control, e.
AffectedControl
);
1320
Assert.Same(control, e.
AffectedControl
);
1562
Assert.Same(control, e.
AffectedControl
);
1737
Assert.Same(control, e.
AffectedControl
);
1897
Assert.Same(control, e.
AffectedControl
);
2009
Assert.Same(control, e.
AffectedControl
);
3087
Assert.Same(control, e.
AffectedControl
);
3190
Assert.Same(control, e.
AffectedControl
);
3328
Assert.Same(control, e.
AffectedControl
);
3452
Assert.Same(control, e.
AffectedControl
);
3561
Assert.Same(control, e.
AffectedControl
);
3678
Assert.Same(control, e.
AffectedControl
);
3771
Assert.Same(control, e.
AffectedControl
);
3875
Assert.Same(control, e.
AffectedControl
);
3981
Assert.Same(control, e.
AffectedControl
);
4105
Assert.Same(control, e.
AffectedControl
);
7200
Assert.Same(control, e.
AffectedControl
);
7310
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ButtonTests.cs (8)
308
Assert.Same(control, e.
AffectedControl
);
357
Assert.Same(control, e.
AffectedControl
);
456
Assert.Same(control, e.
AffectedControl
);
529
Assert.Same(control, e.
AffectedControl
);
803
Assert.Same(control, e.
AffectedControl
);
906
Assert.Same(control, e.
AffectedControl
);
2934
Assert.Same(control, e.
AffectedControl
);
3044
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ColumnStyleTests.cs (2)
75
Assert.Same(control, e.
AffectedControl
);
112
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ControlTests.ControlCollection.cs (21)
42
Assert.Same(collection.Cast<Control>().Last(), e.
AffectedControl
);
117
Assert.Same(collection.Cast<Control>().Last(), e.
AffectedControl
);
195
Assert.Same(collection2.Cast<Control>().Last(), e.
AffectedControl
);
231
Assert.Same(collection.Cast<Control>().Last(), e.
AffectedControl
);
489
Assert.Same(affectedControl, e.
AffectedControl
);
1216
Assert.Same(affectedControl, e.
AffectedControl
);
1299
Assert.Same(child3, e.
AffectedControl
);
1928
Assert.Same(child1, e.
AffectedControl
);
1992
Assert.Same(child1, e.
AffectedControl
);
2055
Assert.Same(child1, e.
AffectedControl
);
2131
Assert.Same(child1, e.
AffectedControl
);
2799
Assert.Same(affectedControl, e.
AffectedControl
);
2861
Assert.Same(affectedControl, e.
AffectedControl
);
2955
Assert.Same(affectedControl, e.
AffectedControl
);
3052
Assert.Same(child1, e.
AffectedControl
);
3120
Assert.Same(child1, e.
AffectedControl
);
3173
Assert.Same(child1, e.
AffectedControl
);
3252
Assert.Same(child1, e.
AffectedControl
);
3346
Assert.Same(child1, e.
AffectedControl
);
3440
Assert.Same(collection.Cast<Control>().Last(), e.
AffectedControl
);
3529
Assert.Same(child1, e.
AffectedControl
);
System\Windows\Forms\ControlTests.Handlers.cs (2)
4849
Assert.Same(control, e.
AffectedControl
);
4894
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ControlTests.Methods.cs (70)
147
Assert.Same(child2, e.
AffectedControl
);
189
Assert.Same(child2, e.
AffectedControl
);
244
Assert.Same(child2, e.
AffectedControl
);
311
Assert.Same(child2, e.
AffectedControl
);
4768
Assert.Null(e.
AffectedControl
);
4797
Assert.Null(e.
AffectedControl
);
4826
Assert.Null(e.
AffectedControl
);
4867
Assert.Null(e.
AffectedControl
);
4875
Assert.Same(control, e.
AffectedControl
);
4910
Assert.Null(e.
AffectedControl
);
4937
Assert.Null(e.
AffectedControl
);
5021
Assert.Same(affectedControl, e.
AffectedControl
);
5051
Assert.Same(affectedControl, e.
AffectedControl
);
5081
Assert.Same(affectedControl, e.
AffectedControl
);
5132
Assert.Same(affectedControl, e.
AffectedControl
);
5140
Assert.Same(control, e.
AffectedControl
);
5185
Assert.Same(affectedControl, e.
AffectedControl
);
5211
Assert.Same(affectedControl, e.
AffectedControl
);
6588
Assert.Same(affectedControl, e.
AffectedControl
);
6616
Assert.Same(affectedControl, e.
AffectedControl
);
6666
Assert.Same(affectedControl, e.
AffectedControl
);
6696
Assert.Same(affectedControl, e.
AffectedControl
);
6832
Assert.Same(affectedControl, e.
AffectedControl
);
7033
Assert.Same(child1, e.
AffectedControl
);
7075
Assert.Same(child1, e.
AffectedControl
);
7130
Assert.Same(child1, e.
AffectedControl
);
7197
Assert.Same(child1, e.
AffectedControl
);
7380
Assert.Same(control, e.
AffectedControl
);
7491
Assert.Same(control, e.
AffectedControl
);
7589
Assert.Same(control, e.
AffectedControl
);
7692
Assert.Same(control, e.
AffectedControl
);
7733
Assert.Same(control, e.
AffectedControl
);
7823
Assert.Same(control, e.
AffectedControl
);
7950
Assert.Same(control, e.
AffectedControl
);
7991
Assert.Same(control, e.
AffectedControl
);
8167
Assert.Same(control, e.
AffectedControl
);
8278
Assert.Same(control, e.
AffectedControl
);
8376
Assert.Same(control, e.
AffectedControl
);
8549
Assert.Same(control, e.
AffectedControl
);
8590
Assert.Same(control, e.
AffectedControl
);
8680
Assert.Same(control, e.
AffectedControl
);
8807
Assert.Same(control, e.
AffectedControl
);
8848
Assert.Same(control, e.
AffectedControl
);
8981
Assert.Same(control, e.
AffectedControl
);
9123
Assert.Same(control, e.
AffectedControl
);
9252
Assert.Same(control, e.
AffectedControl
);
9370
Assert.Same(control, e.
AffectedControl
);
9411
Assert.Same(control, e.
AffectedControl
);
9544
Assert.Same(control, e.
AffectedControl
);
9683
Assert.Same(control, e.
AffectedControl
);
9724
Assert.Same(control, e.
AffectedControl
);
9809
Assert.Same(control, e.
AffectedControl
);
9843
Assert.Same(control, e.
AffectedControl
);
10510
Assert.Same(control, e.
AffectedControl
);
10602
Assert.Same(control, e.
AffectedControl
);
10686
Assert.Same(control, e.
AffectedControl
);
10950
Assert.Same(control, e.
AffectedControl
);
11061
Assert.Same(control, e.
AffectedControl
);
11159
Assert.Same(control, e.
AffectedControl
);
11249
Assert.Same(control, e.
AffectedControl
);
11290
Assert.Same(control, e.
AffectedControl
);
11384
Assert.Same(control, e.
AffectedControl
);
11488
Assert.Same(control, e.
AffectedControl
);
11529
Assert.Same(control, e.
AffectedControl
);
11645
Assert.Same(control, e.
AffectedControl
);
11735
Assert.Same(control, e.
AffectedControl
);
11776
Assert.Same(control, e.
AffectedControl
);
11882
Assert.Same(control, e.
AffectedControl
);
11986
Assert.Same(control, e.
AffectedControl
);
12027
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ControlTests.Properties.cs (80)
421
Assert.Same(control, e.
AffectedControl
);
470
Assert.Same(control, e.
AffectedControl
);
568
Assert.Same(control, e.
AffectedControl
);
691
Assert.Same(control, e.
AffectedControl
);
700
Assert.Same(control, e.
AffectedControl
);
835
Assert.Same(control, e.
AffectedControl
);
957
Assert.Same(control, e.
AffectedControl
);
1019
Assert.Same(control, e.
AffectedControl
);
1131
Assert.Same(control, e.
AffectedControl
);
2442
Assert.Same(control, e.
AffectedControl
);
2531
Assert.Same(control, e.
AffectedControl
);
2616
Assert.Same(control, e.
AffectedControl
);
2706
Assert.Same(control, e.
AffectedControl
);
2747
Assert.Same(control, e.
AffectedControl
);
2814
Assert.Same(control, e.
AffectedControl
);
2918
Assert.Same(control, e.
AffectedControl
);
2959
Assert.Same(control, e.
AffectedControl
);
3331
Assert.Same(control, e.
AffectedControl
);
3375
Assert.Same(control, e.
AffectedControl
);
4194
Assert.Same(control, e.
AffectedControl
);
4285
Assert.Same(control, e.
AffectedControl
);
5692
Assert.Same(control, e.
AffectedControl
);
5802
Assert.Same(control, e.
AffectedControl
);
5890
Assert.Same(control, e.
AffectedControl
);
5983
Assert.Same(control, e.
AffectedControl
);
6024
Assert.Same(control, e.
AffectedControl
);
6103
Assert.Same(control, e.
AffectedControl
);
6219
Assert.Same(control, e.
AffectedControl
);
6260
Assert.Same(control, e.
AffectedControl
);
6773
Assert.Same(control, e.
AffectedControl
);
6982
Assert.Same(control, e.
AffectedControl
);
7252
Assert.Same(control, e.
AffectedControl
);
7465
Assert.Same(control, e.
AffectedControl
);
7762
Assert.Same(control, e.
AffectedControl
);
8005
Assert.Same(control, e.
AffectedControl
);
8062
Assert.Same(control, e.
AffectedControl
);
8111
Assert.Same(control, e.
AffectedControl
);
8167
Assert.Same(control, e.
AffectedControl
);
8320
Assert.Same(control, e.
AffectedControl
);
8388
Assert.Same(control, e.
AffectedControl
);
8543
Assert.Same(control, e.
AffectedControl
);
8590
Assert.Same(control, e.
AffectedControl
);
8643
Assert.Same(control, e.
AffectedControl
);
8674
Assert.Same(control, e.
AffectedControl
);
8706
Assert.Same(control, e.
AffectedControl
);
8753
Assert.Same(control, e.
AffectedControl
);
8761
Assert.Same(control, e.
AffectedControl
);
8815
Assert.Same(control, e.
AffectedControl
);
8823
Assert.Same(control, e.
AffectedControl
);
8875
Assert.Same(control, e.
AffectedControl
);
8935
Assert.Same(control, e.
AffectedControl
);
9001
Assert.Same(control, e.
AffectedControl
);
9061
Assert.Same(control, e.
AffectedControl
);
9069
Assert.Same(control, e.
AffectedControl
);
9150
Assert.Same(control, e.
AffectedControl
);
9158
Assert.Same(control, e.
AffectedControl
);
9418
Assert.Same(control, e.
AffectedControl
);
9448
Assert.Same(control, e.
AffectedControl
);
9456
Assert.Same(control, e.
AffectedControl
);
9503
Assert.Same(control, e.
AffectedControl
);
9547
Assert.Same(control, e.
AffectedControl
);
9555
Assert.Same(control, e.
AffectedControl
);
11076
Assert.Same(control, e.
AffectedControl
);
11187
Assert.Same(control, e.
AffectedControl
);
11282
Assert.Same(control, e.
AffectedControl
);
11382
Assert.Same(control, e.
AffectedControl
);
11423
Assert.Same(control, e.
AffectedControl
);
11507
Assert.Same(control, e.
AffectedControl
);
11628
Assert.Same(control, e.
AffectedControl
);
11669
Assert.Same(control, e.
AffectedControl
);
12207
Assert.Same(control, e.
AffectedControl
);
12414
Assert.Same(control, e.
AffectedControl
);
13111
Assert.Same(control, e.
AffectedControl
);
13221
Assert.Same(control, e.
AffectedControl
);
13309
Assert.Same(control, e.
AffectedControl
);
13402
Assert.Same(control, e.
AffectedControl
);
13443
Assert.Same(control, e.
AffectedControl
);
13522
Assert.Same(control, e.
AffectedControl
);
13638
Assert.Same(control, e.
AffectedControl
);
13679
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\DataGridViewTests.cs (4)
127
Assert.Same(control, e.
AffectedControl
);
274
Assert.Same(control, e.
AffectedControl
);
1044
Assert.Same(control, e.
AffectedControl
);
1198
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\FlowLayoutPanelTests.cs (3)
153
Assert.Same(control, e.
AffectedControl
);
188
Assert.Same(control, e.
AffectedControl
);
368
Assert.Same(child, eventArgs.
AffectedControl
);
System\Windows\Forms\FlowLayoutSettingsTests.cs (3)
25
Assert.Same(control, e.
AffectedControl
);
69
Assert.Same(control, e.
AffectedControl
);
187
Assert.Same(child, eventArgs.
AffectedControl
);
System\Windows\Forms\GroupBoxTests.cs (6)
278
Assert.Same(control, e.
AffectedControl
);
327
Assert.Same(control, e.
AffectedControl
);
426
Assert.Same(control, e.
AffectedControl
);
499
Assert.Same(control, e.
AffectedControl
);
1230
Assert.Same(control, e.
AffectedControl
);
1334
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (9)
57
Assert.Same(control, e.
AffectedControl
);
94
Assert.Same(control, e.
AffectedControl
);
131
Assert.Same(control, e.
AffectedControl
);
512
Assert.Same(child, eventArgs.
AffectedControl
);
585
Assert.Same(child, eventArgs.
AffectedControl
);
731
Assert.Same(child, eventArgs.
AffectedControl
);
966
Assert.Same(child, eventArgs.
AffectedControl
);
1207
Assert.Same(child, eventArgs.
AffectedControl
);
1442
Assert.Same(child, eventArgs.
AffectedControl
);
System\Windows\Forms\LayoutEventArgsTests.cs (2)
24
Assert.Equal(affectedComponent as Control, e.
AffectedControl
);
41
Assert.Equal(affectedControl, e.
AffectedControl
);
System\Windows\Forms\ListBoxTests.cs (1)
941
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\MdiClientTests.cs (8)
501
Assert.Same(control, e.
AffectedControl
);
596
Assert.Same(control, e.
AffectedControl
);
709
Assert.Same(control, e.
AffectedControl
);
750
Assert.Same(control, e.
AffectedControl
);
861
Assert.Same(control, e.
AffectedControl
);
902
Assert.Same(control, e.
AffectedControl
);
1023
Assert.Same(control, e.
AffectedControl
);
1064
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\MenuStripTests.cs (3)
195
Assert.Same(control, e.
AffectedControl
);
247
Assert.Same(control, e.
AffectedControl
);
281
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\MonthCalendarTests.cs (2)
1733
Assert.Same(control, e.
AffectedControl
);
1780
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\PanelTests.cs (7)
266
Assert.Same(control, e.
AffectedControl
);
315
Assert.Same(control, e.
AffectedControl
);
414
Assert.Same(control, e.
AffectedControl
);
487
Assert.Same(control, e.
AffectedControl
);
976
Assert.Same(control, e.
AffectedControl
);
1021
Assert.Same(control, e.
AffectedControl
);
1103
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\PictureBoxTests.cs (3)
2649
Assert.Same(control, e.
AffectedControl
);
2694
Assert.Same(control, e.
AffectedControl
);
2750
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ProgressBarTests.cs (2)
1198
Assert.Same(control, e.
AffectedControl
);
1245
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\PropertyGridTests.cs (2)
204
Assert.Same(control, e.
AffectedControl
);
247
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\RichTextBoxTests.cs (7)
2197
Assert.Same(control, e.
AffectedControl
);
2974
Assert.Same(control, e.
AffectedControl
);
3037
Assert.Same(control, e.
AffectedControl
);
3102
Assert.Same(control, e.
AffectedControl
);
3110
Assert.Same(control, e.
AffectedControl
);
7112
Assert.Same(control, e.
AffectedControl
);
7347
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\RowStyleTests.cs (2)
75
Assert.Same(control, e.
AffectedControl
);
112
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ScrollableControlTests.cs (9)
248
Assert.Same(control, e.
AffectedControl
);
291
Assert.Same(control, e.
AffectedControl
);
350
Assert.Null(e.
AffectedControl
);
388
Assert.Null(e.
AffectedControl
);
797
Assert.Same(control, e.
AffectedControl
);
1898
Assert.Same(control, e.
AffectedControl
);
1943
Assert.Same(control, e.
AffectedControl
);
2243
Assert.Null(e.
AffectedControl
);
2274
Assert.Null(e.
AffectedControl
);
System\Windows\Forms\SplitterPanelTests.cs (2)
674
Assert.Same(control, e.
AffectedControl
);
792
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\SplitterTests.cs (2)
543
Assert.Same(control, e.
AffectedControl
);
612
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\StatusStripTests.cs (3)
289
Assert.Same(control, e.
AffectedControl
);
329
Assert.Same(control, e.
AffectedControl
);
412
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\TabControl.ControlCollectionTests.cs (76)
77
Assert.Same(value1, events[0].
AffectedControl
);
79
Assert.Same(value1, events[1].
AffectedControl
);
100
Assert.Same(value1, events[0].
AffectedControl
);
102
Assert.Same(value1, events[1].
AffectedControl
);
104
Assert.Same(value2, events[2].
AffectedControl
);
106
Assert.Same(value2, events[3].
AffectedControl
);
127
Assert.Same(value1, events[0].
AffectedControl
);
129
Assert.Same(value1, events[1].
AffectedControl
);
131
Assert.Same(value2, events[2].
AffectedControl
);
133
Assert.Same(value2, events[3].
AffectedControl
);
135
Assert.Same(value1, events[4].
AffectedControl
);
207
Assert.Same(value1, events[0].
AffectedControl
);
209
Assert.Same(value1, events[1].
AffectedControl
);
211
Assert.Same(value1, events[2].
AffectedControl
);
213
Assert.Same(value1, events[3].
AffectedControl
);
215
Assert.Same(value1, events[4].
AffectedControl
);
239
Assert.Same(value1, events[0].
AffectedControl
);
241
Assert.Same(value1, events[1].
AffectedControl
);
243
Assert.Same(value1, events[2].
AffectedControl
);
245
Assert.Same(value1, events[3].
AffectedControl
);
247
Assert.Same(value1, events[4].
AffectedControl
);
249
Assert.Same(value2, events[5].
AffectedControl
);
251
Assert.Same(value2, events[6].
AffectedControl
);
253
Assert.Same(value2, events[7].
AffectedControl
);
255
Assert.Same(value2, events[8].
AffectedControl
);
280
Assert.Same(value1, events[0].
AffectedControl
);
282
Assert.Same(value1, events[1].
AffectedControl
);
284
Assert.Same(value1, events[2].
AffectedControl
);
286
Assert.Same(value1, events[3].
AffectedControl
);
288
Assert.Same(value1, events[4].
AffectedControl
);
290
Assert.Same(value2, events[5].
AffectedControl
);
292
Assert.Same(value2, events[6].
AffectedControl
);
294
Assert.Same(value2, events[7].
AffectedControl
);
296
Assert.Same(value2, events[8].
AffectedControl
);
298
Assert.Same(value1, events[9].
AffectedControl
);
300
Assert.Same(value1, events[10].
AffectedControl
);
302
Assert.Same(value1, events[11].
AffectedControl
);
304
Assert.Same(value1, events[12].
AffectedControl
);
374
Assert.Same(value1, events[0].
AffectedControl
);
376
Assert.Same(value1, events[1].
AffectedControl
);
400
Assert.Same(value1, events[0].
AffectedControl
);
402
Assert.Same(value1, events[1].
AffectedControl
);
404
Assert.Same(value2, events[2].
AffectedControl
);
406
Assert.Same(value2, events[3].
AffectedControl
);
433
Assert.Same(value1, events[0].
AffectedControl
);
435
Assert.Same(value1, events[1].
AffectedControl
);
437
Assert.Same(value2, events[2].
AffectedControl
);
439
Assert.Same(value2, events[3].
AffectedControl
);
441
Assert.Same(value1, events[4].
AffectedControl
);
522
Assert.Same(value1, events[0].
AffectedControl
);
524
Assert.Same(value1, events[1].
AffectedControl
);
526
Assert.Same(value1, events[2].
AffectedControl
);
528
Assert.Same(value1, events[3].
AffectedControl
);
530
Assert.Same(value1, events[4].
AffectedControl
);
557
Assert.Same(value1, events[0].
AffectedControl
);
559
Assert.Same(value1, events[1].
AffectedControl
);
561
Assert.Same(value1, events[2].
AffectedControl
);
563
Assert.Same(value1, events[3].
AffectedControl
);
565
Assert.Same(value1, events[4].
AffectedControl
);
567
Assert.Same(value2, events[5].
AffectedControl
);
569
Assert.Same(value2, events[6].
AffectedControl
);
571
Assert.Same(value2, events[7].
AffectedControl
);
573
Assert.Same(value2, events[8].
AffectedControl
);
604
Assert.Same(value1, events[0].
AffectedControl
);
606
Assert.Same(value1, events[1].
AffectedControl
);
608
Assert.Same(value1, events[2].
AffectedControl
);
610
Assert.Same(value1, events[3].
AffectedControl
);
612
Assert.Same(value1, events[4].
AffectedControl
);
614
Assert.Same(value2, events[5].
AffectedControl
);
616
Assert.Same(value2, events[6].
AffectedControl
);
618
Assert.Same(value2, events[7].
AffectedControl
);
620
Assert.Same(value2, events[8].
AffectedControl
);
622
Assert.Same(value1, events[9].
AffectedControl
);
624
Assert.Same(value1, events[10].
AffectedControl
);
626
Assert.Same(value1, events[11].
AffectedControl
);
628
Assert.Same(value1, events[12].
AffectedControl
);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (193)
63
Assert.Same(value1, events[0].
AffectedControl
);
65
Assert.Same(value1, events[1].
AffectedControl
);
87
Assert.Same(value1, events[0].
AffectedControl
);
89
Assert.Same(value1, events[1].
AffectedControl
);
91
Assert.Same(value2, events[2].
AffectedControl
);
93
Assert.Same(value2, events[3].
AffectedControl
);
115
Assert.Same(value1, events[0].
AffectedControl
);
117
Assert.Same(value1, events[1].
AffectedControl
);
119
Assert.Same(value2, events[2].
AffectedControl
);
121
Assert.Same(value2, events[3].
AffectedControl
);
123
Assert.Same(value1, events[4].
AffectedControl
);
196
Assert.Same(value1, events[0].
AffectedControl
);
198
Assert.Same(value1, events[1].
AffectedControl
);
200
Assert.Same(value1, events[2].
AffectedControl
);
202
Assert.Same(value1, events[3].
AffectedControl
);
204
Assert.Same(value1, events[4].
AffectedControl
);
229
Assert.Same(value1, events[0].
AffectedControl
);
231
Assert.Same(value1, events[1].
AffectedControl
);
233
Assert.Same(value1, events[2].
AffectedControl
);
235
Assert.Same(value1, events[3].
AffectedControl
);
237
Assert.Same(value1, events[4].
AffectedControl
);
239
Assert.Same(value2, events[5].
AffectedControl
);
241
Assert.Same(value2, events[6].
AffectedControl
);
243
Assert.Same(value2, events[7].
AffectedControl
);
245
Assert.Same(value2, events[8].
AffectedControl
);
271
Assert.Same(value1, events[0].
AffectedControl
);
273
Assert.Same(value1, events[1].
AffectedControl
);
275
Assert.Same(value1, events[2].
AffectedControl
);
277
Assert.Same(value1, events[3].
AffectedControl
);
279
Assert.Same(value1, events[4].
AffectedControl
);
281
Assert.Same(value2, events[5].
AffectedControl
);
283
Assert.Same(value2, events[6].
AffectedControl
);
285
Assert.Same(value2, events[7].
AffectedControl
);
287
Assert.Same(value2, events[8].
AffectedControl
);
289
Assert.Same(value1, events[9].
AffectedControl
);
291
Assert.Same(value1, events[10].
AffectedControl
);
293
Assert.Same(value1, events[11].
AffectedControl
);
295
Assert.Same(value1, events[12].
AffectedControl
);
366
Assert.Same(value1, events[0].
AffectedControl
);
368
Assert.Same(value1, events[1].
AffectedControl
);
393
Assert.Same(value1, events[0].
AffectedControl
);
395
Assert.Same(value1, events[1].
AffectedControl
);
397
Assert.Same(value2, events[2].
AffectedControl
);
399
Assert.Same(value2, events[3].
AffectedControl
);
427
Assert.Same(value1, events[0].
AffectedControl
);
429
Assert.Same(value1, events[1].
AffectedControl
);
431
Assert.Same(value2, events[2].
AffectedControl
);
433
Assert.Same(value2, events[3].
AffectedControl
);
435
Assert.Same(value1, events[4].
AffectedControl
);
517
Assert.Same(value1, events[0].
AffectedControl
);
519
Assert.Same(value1, events[1].
AffectedControl
);
521
Assert.Same(value1, events[2].
AffectedControl
);
523
Assert.Same(value1, events[3].
AffectedControl
);
525
Assert.Same(value1, events[4].
AffectedControl
);
553
Assert.Same(value1, events[0].
AffectedControl
);
555
Assert.Same(value1, events[1].
AffectedControl
);
557
Assert.Same(value1, events[2].
AffectedControl
);
559
Assert.Same(value1, events[3].
AffectedControl
);
561
Assert.Same(value1, events[4].
AffectedControl
);
563
Assert.Same(value2, events[5].
AffectedControl
);
565
Assert.Same(value2, events[6].
AffectedControl
);
567
Assert.Same(value2, events[7].
AffectedControl
);
569
Assert.Same(value2, events[8].
AffectedControl
);
601
Assert.Same(value1, events[0].
AffectedControl
);
603
Assert.Same(value1, events[1].
AffectedControl
);
605
Assert.Same(value1, events[2].
AffectedControl
);
607
Assert.Same(value1, events[3].
AffectedControl
);
609
Assert.Same(value1, events[4].
AffectedControl
);
611
Assert.Same(value2, events[5].
AffectedControl
);
613
Assert.Same(value2, events[6].
AffectedControl
);
615
Assert.Same(value2, events[7].
AffectedControl
);
617
Assert.Same(value2, events[8].
AffectedControl
);
619
Assert.Same(value1, events[9].
AffectedControl
);
621
Assert.Same(value1, events[10].
AffectedControl
);
623
Assert.Same(value1, events[11].
AffectedControl
);
625
Assert.Same(value1, events[12].
AffectedControl
);
1010
Assert.Same(value1, events[0].
AffectedControl
);
1012
Assert.Same(value1, events[1].
AffectedControl
);
1033
Assert.Same(value1, events[0].
AffectedControl
);
1035
Assert.Same(value1, events[1].
AffectedControl
);
1037
Assert.Same(value2, events[2].
AffectedControl
);
1039
Assert.Same(value2, events[3].
AffectedControl
);
1060
Assert.Same(value1, events[0].
AffectedControl
);
1062
Assert.Same(value1, events[1].
AffectedControl
);
1064
Assert.Same(value2, events[2].
AffectedControl
);
1066
Assert.Same(value2, events[3].
AffectedControl
);
1068
Assert.Same(value1, events[4].
AffectedControl
);
1349
Assert.Same(child3, e.
AffectedControl
);
1472
Assert.Same(child3, e.
AffectedControl
);
2005
Assert.Same(value1, events[0].
AffectedControl
);
2007
Assert.Same(value1, events[1].
AffectedControl
);
2029
Assert.Same(value1, events[0].
AffectedControl
);
2031
Assert.Same(value1, events[1].
AffectedControl
);
2033
Assert.Same(value2, events[2].
AffectedControl
);
2035
Assert.Same(value2, events[3].
AffectedControl
);
2037
Assert.Same(value2, events[4].
AffectedControl
);
2059
Assert.Same(value1, events[0].
AffectedControl
);
2061
Assert.Same(value1, events[1].
AffectedControl
);
2063
Assert.Same(value2, events[2].
AffectedControl
);
2065
Assert.Same(value2, events[3].
AffectedControl
);
2067
Assert.Same(value2, events[4].
AffectedControl
);
2069
Assert.Same(value1, events[5].
AffectedControl
);
2071
Assert.Same(value1, events[6].
AffectedControl
);
2133
Assert.Same(value1, events[0].
AffectedControl
);
2135
Assert.Same(value1, events[1].
AffectedControl
);
2137
Assert.Same(value1, events[2].
AffectedControl
);
2139
Assert.Same(value1, events[3].
AffectedControl
);
2141
Assert.Same(value1, events[4].
AffectedControl
);
2166
Assert.Same(value1, events[0].
AffectedControl
);
2168
Assert.Same(value1, events[1].
AffectedControl
);
2170
Assert.Same(value1, events[2].
AffectedControl
);
2172
Assert.Same(value1, events[3].
AffectedControl
);
2174
Assert.Same(value1, events[4].
AffectedControl
);
2176
Assert.Same(value2, events[5].
AffectedControl
);
2178
Assert.Same(value2, events[6].
AffectedControl
);
2180
Assert.Same(value2, events[7].
AffectedControl
);
2182
Assert.Same(value2, events[8].
AffectedControl
);
2184
Assert.Same(value2, events[9].
AffectedControl
);
2210
Assert.Same(value1, events[0].
AffectedControl
);
2212
Assert.Same(value1, events[1].
AffectedControl
);
2214
Assert.Same(value1, events[2].
AffectedControl
);
2216
Assert.Same(value1, events[3].
AffectedControl
);
2218
Assert.Same(value1, events[4].
AffectedControl
);
2220
Assert.Same(value2, events[5].
AffectedControl
);
2222
Assert.Same(value2, events[6].
AffectedControl
);
2224
Assert.Same(value2, events[7].
AffectedControl
);
2226
Assert.Same(value2, events[8].
AffectedControl
);
2228
Assert.Same(value2, events[9].
AffectedControl
);
2230
Assert.Same(value1, events[10].
AffectedControl
);
2232
Assert.Same(value1, events[11].
AffectedControl
);
2234
Assert.Same(value1, events[12].
AffectedControl
);
2236
Assert.Same(value1, events[13].
AffectedControl
);
2238
Assert.Same(value1, events[14].
AffectedControl
);
2309
Assert.Same(value1, events[0].
AffectedControl
);
2311
Assert.Same(value1, events[1].
AffectedControl
);
2336
Assert.Same(value1, events[0].
AffectedControl
);
2338
Assert.Same(value1, events[1].
AffectedControl
);
2340
Assert.Same(value2, events[2].
AffectedControl
);
2342
Assert.Same(value2, events[3].
AffectedControl
);
2344
Assert.Same(value2, events[4].
AffectedControl
);
2372
Assert.Same(value1, events[0].
AffectedControl
);
2374
Assert.Same(value1, events[1].
AffectedControl
);
2376
Assert.Same(value2, events[2].
AffectedControl
);
2378
Assert.Same(value2, events[3].
AffectedControl
);
2380
Assert.Same(value2, events[4].
AffectedControl
);
2382
Assert.Same(value1, events[5].
AffectedControl
);
2384
Assert.Same(value1, events[6].
AffectedControl
);
2466
Assert.Same(value1, events[0].
AffectedControl
);
2468
Assert.Same(value1, events[1].
AffectedControl
);
2470
Assert.Same(value1, events[2].
AffectedControl
);
2472
Assert.Same(value1, events[3].
AffectedControl
);
2474
Assert.Same(value1, events[4].
AffectedControl
);
2502
Assert.Same(value1, events[0].
AffectedControl
);
2504
Assert.Same(value1, events[1].
AffectedControl
);
2506
Assert.Same(value1, events[2].
AffectedControl
);
2508
Assert.Same(value1, events[3].
AffectedControl
);
2510
Assert.Same(value1, events[4].
AffectedControl
);
2512
Assert.Same(value2, events[5].
AffectedControl
);
2514
Assert.Same(value2, events[6].
AffectedControl
);
2516
Assert.Same(value2, events[7].
AffectedControl
);
2518
Assert.Same(value2, events[8].
AffectedControl
);
2520
Assert.Same(value2, events[9].
AffectedControl
);
2552
Assert.Same(value1, events[0].
AffectedControl
);
2554
Assert.Same(value1, events[1].
AffectedControl
);
2556
Assert.Same(value1, events[2].
AffectedControl
);
2558
Assert.Same(value1, events[3].
AffectedControl
);
2560
Assert.Same(value1, events[4].
AffectedControl
);
2562
Assert.Same(value2, events[5].
AffectedControl
);
2564
Assert.Same(value2, events[6].
AffectedControl
);
2566
Assert.Same(value2, events[7].
AffectedControl
);
2568
Assert.Same(value2, events[8].
AffectedControl
);
2570
Assert.Same(value2, events[9].
AffectedControl
);
2572
Assert.Same(value1, events[10].
AffectedControl
);
2574
Assert.Same(value1, events[11].
AffectedControl
);
2576
Assert.Same(value1, events[12].
AffectedControl
);
2578
Assert.Same(value1, events[13].
AffectedControl
);
2580
Assert.Same(value1, events[14].
AffectedControl
);
3051
Assert.Same(value1, events[0].
AffectedControl
);
3053
Assert.Same(value1, events[1].
AffectedControl
);
3075
Assert.Same(value1, events[0].
AffectedControl
);
3077
Assert.Same(value1, events[1].
AffectedControl
);
3079
Assert.Same(value2, events[2].
AffectedControl
);
3081
Assert.Same(value2, events[3].
AffectedControl
);
3083
Assert.Same(value2, events[4].
AffectedControl
);
3105
Assert.Same(value1, events[0].
AffectedControl
);
3107
Assert.Same(value1, events[1].
AffectedControl
);
3109
Assert.Same(value2, events[2].
AffectedControl
);
3111
Assert.Same(value2, events[3].
AffectedControl
);
3113
Assert.Same(value2, events[4].
AffectedControl
);
3115
Assert.Same(value1, events[5].
AffectedControl
);
3117
Assert.Same(value1, events[6].
AffectedControl
);
4827
Assert.Same(affectedControl, e.
AffectedControl
);
4921
Assert.Same(affectedControl, e.
AffectedControl
);
System\Windows\Forms\TabControlTests.cs (4)
1842
Assert.Same(control, e.
AffectedControl
);
1889
Assert.Same(control, e.
AffectedControl
);
5012
Assert.Same(child3, e.
AffectedControl
);
5127
Assert.Same(child3, e.
AffectedControl
);
System\Windows\Forms\TableLayoutPanelTests.cs (14)
230
Assert.Same(control, e.
AffectedControl
);
266
Assert.Same(control, e.
AffectedControl
);
309
Assert.Same(control, e.
AffectedControl
);
384
Assert.Same(control, e.
AffectedControl
);
420
Assert.Same(control, e.
AffectedControl
);
456
Assert.Same(control, e.
AffectedControl
);
507
Assert.Same(control, e.
AffectedControl
);
554
Assert.Same(control, e.
AffectedControl
);
601
Assert.Same(control, e.
AffectedControl
);
1605
Assert.Same(child, eventArgs.
AffectedControl
);
1711
Assert.Same(child, eventArgs.
AffectedControl
);
1820
Assert.Same(child, eventArgs.
AffectedControl
);
1938
Assert.Same(child, eventArgs.
AffectedControl
);
2047
Assert.Same(child, eventArgs.
AffectedControl
);
System\Windows\Forms\TableLayoutStyleTests.cs (2)
50
Assert.Same(control, e.
AffectedControl
);
89
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\TabPageTests.cs (9)
1978
Assert.Same(control, e.
AffectedControl
);
2203
Assert.Same(control, e.
AffectedControl
);
2454
Assert.Same(control, e.
AffectedControl
);
4309
Assert.Same(control, e.
AffectedControl
);
4427
Assert.Same(control, e.
AffectedControl
);
4468
Assert.Same(control, e.
AffectedControl
);
4601
Assert.Same(control, e.
AffectedControl
);
4760
Assert.Same(control, e.
AffectedControl
);
4801
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (1)
36
Assert.Same(collection.Cast<Control>().Last(), e.
AffectedControl
);
System\Windows\Forms\ToolStripContentPanelTests.cs (5)
153
Assert.Same(control, e.
AffectedControl
);
196
Assert.Same(control, e.
AffectedControl
);
255
Assert.Null(e.
AffectedControl
);
293
Assert.Null(e.
AffectedControl
);
1073
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ToolStripDropDownTests.cs (8)
600
Assert.Same(control, e.
AffectedControl
);
673
Assert.Same(control, e.
AffectedControl
);
711
Assert.Same(control, e.
AffectedControl
);
1013
Assert.Same(control, e.
AffectedControl
);
1782
Assert.Same(control, e.
AffectedControl
);
2386
Assert.Same(control, e.
AffectedControl
);
2759
Assert.Same(control, e.
AffectedControl
);
2795
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\ToolStripTests.cs (22)
779
Assert.Same(control, e.
AffectedControl
);
824
Assert.Null(e.
AffectedControl
);
923
Assert.Same(control, e.
AffectedControl
);
981
Assert.Same(control, e.
AffectedControl
);
1237
Assert.Same(control, e.
AffectedControl
);
2382
Assert.Same(control, e.
AffectedControl
);
2467
Assert.Same(control, e.
AffectedControl
);
2484
Assert.Same(control, e.
AffectedControl
);
2573
Assert.Same(control, e.
AffectedControl
);
2590
Assert.Same(control, e.
AffectedControl
);
2769
Assert.Same(control, e.
AffectedControl
);
2800
Assert.Same(control, e.
AffectedControl
);
2836
Assert.Same(control, e.
AffectedControl
);
3454
Assert.Same(control, e.
AffectedControl
);
3826
Assert.Same(control, e.
AffectedControl
);
3862
Assert.Same(control, e.
AffectedControl
);
3901
Assert.Same(control, e.
AffectedControl
);
3944
Assert.Same(control, e.
AffectedControl
);
3988
Assert.Same(control, e.
AffectedControl
);
4053
Assert.Same(control, e.
AffectedControl
);
6316
Assert.Same(control, e.
AffectedControl
);
6361
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\TreeViewTests.cs (2)
3084
Assert.Same(control, e.
AffectedControl
);
3131
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\UpDownBaseTests.cs (5)
297
Assert.Null(e.
AffectedControl
);
335
Assert.Null(e.
AffectedControl
);
1107
Assert.Same(control, e.
AffectedControl
);
1151
Assert.Same(control, e.
AffectedControl
);
2716
Assert.Same(control, e.
AffectedControl
);
System\Windows\Forms\UserControlTests.cs (11)
246
Assert.Same(control, e.
AffectedControl
);
288
Assert.Same(control, e.
AffectedControl
);
323
Assert.Same(control, e.
AffectedControl
);
380
Assert.Same(control, e.
AffectedControl
);
430
Assert.Same(control, e.
AffectedControl
);
529
Assert.Same(control, e.
AffectedControl
);
602
Assert.Same(control, e.
AffectedControl
);
1070
Assert.Same(control, e.
AffectedControl
);
1110
Assert.Same(control, e.
AffectedControl
);
1155
Assert.Same(control, e.
AffectedControl
);
1209
Assert.Same(control, e.
AffectedControl
);
TextBoxBaseTests.cs (6)
589
Assert.Same(control, e.
AffectedControl
);
2015
Assert.Same(control, e.
AffectedControl
);
3736
Assert.Same(control, e.
AffectedControl
);
6500
Assert.Same(control, e.
AffectedControl
);
6634
Assert.Same(control, e.
AffectedControl
);
6750
Assert.Same(control, e.
AffectedControl
);
TrackBarTests.cs (3)
1564
Assert.Same(control, e.
AffectedControl
);
1611
Assert.Same(control, e.
AffectedControl
);
2960
Assert.Same(control, e.
AffectedControl
);
WebBrowserBaseTests.cs (2)
39
Assert.Same(control, e.
AffectedControl
);
148
Assert.Same(control, e.
AffectedControl
);
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
1048
if (e.
AffectedControl
!= null)
1050
compName = e.
AffectedControl
.Name;