Implemented interface member:
event
Disposed
System.ComponentModel.IComponent.Disposed
227 references to Disposed
System.Windows.Forms (37)
System\Windows\Forms\Control.cs (3)
1244
oldValue.
Disposed
-= DetachContextMenuStrip;
1249
value.
Disposed
+= DetachContextMenuStrip;
4701
menu.
Disposed
-= DetachContextMenuStrip;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (3)
549
_imageList.
Disposed
-= disposedHandler;
565
value.
Disposed
+= disposedHandler;
782
_imageList.
Disposed
-= DetachImageList;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
1916
oldDataSource.
Disposed
-= OnDataSourceDisposed;
1921
newDataSource.
Disposed
+= OnDataSourceDisposed;
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (3)
66
oldValue.
Disposed
-= DetachContextMenuStrip;
71
value.
Disposed
+= DetachContextMenuStrip;
773
contextMenuStrip.
Disposed
-= DetachContextMenuStrip;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
124
oldValue.
Disposed
-= DetachContextMenuStrip;
129
value.
Disposed
+= DetachContextMenuStrip;
1140
contextMenuStrip.
Disposed
-= DetachContextMenuStrip;
System\Windows\Forms\Controls\Labels\Label.cs (3)
521
imageList.
Disposed
-= DetachImageList;
536
value.
Disposed
+= DetachImageList;
951
imageList.
Disposed
-= DetachImageList;
System\Windows\Forms\Controls\ListView\ListView.cs (8)
2280
_imageListGroup.
Disposed
+= DetachImageList;
2293
_imageListLarge.
Disposed
+= DetachImageList;
2306
_imageListSmall.
Disposed
+= DetachImageList;
2318
_imageListState.
Disposed
+= DetachImageList;
3002
_imageListGroup.
Disposed
-= DetachImageList;
3014
_imageListLarge.
Disposed
-= DetachImageList;
3026
_imageListSmall.
Disposed
-= DetachImageList;
3037
_imageListState.
Disposed
-= DetachImageList;
System\Windows\Forms\Controls\TabControl\TabControl.cs (3)
468
_imageList.
Disposed
-= disposedHandler;
487
value.
Disposed
+= disposedHandler;
1021
_imageList.
Disposed
-= DetachImageList;
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (1)
31
owner.
Disposed
+= OnControlDisposed;
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
648
_imageList.
Disposed
+= DetachImageList;
658
_imageList.
Disposed
-= DetachImageList;
669
_stateImageList.
Disposed
+= DetachStateImageList;
679
_stateImageList.
Disposed
-= DetachStateImageList;
System\Windows\Forms\DataBinding\BindingNavigator.cs (2)
908
oldBindingSource.
Disposed
-= OnBindingSourceDisposed;
919
newBindingSource.
Disposed
+= OnBindingSourceDisposed;
System\Windows\Forms\MDI\MDIControlStrip.cs (2)
41
controlTarget.
Disposed
+= OnTargetWindowDisposed;
169
controlTarget.
Disposed
-= OnTargetWindowDisposed;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
192
MenuItem.DropDown.
Disposed
+= OnDropDownDisposed;
2015
MenuItem.DropDown.
Disposed
-= OnDropDownDisposed;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignerHostTests.cs (1)
894
component.
Disposed
+= (sender, e) =>
System.Windows.Forms.Tests (187)
System\Windows\Forms\ButtonBaseTests.cs (18)
4571
control.
Disposed
+= handler;
4598
control.
Disposed
-= handler;
4623
control.
Disposed
+= handler;
4654
control.
Disposed
-= handler;
4678
control.
Disposed
+= handler;
4705
control.
Disposed
-= handler;
4726
control.
Disposed
+= handler;
4753
control.
Disposed
-= handler;
4778
control.
Disposed
+= handler;
4809
control.
Disposed
-= handler;
4833
control.
Disposed
+= handler;
4860
control.
Disposed
-= handler;
4870
control.
Disposed
+= handler;
4897
control.
Disposed
-= handler;
4911
control.
Disposed
+= handler;
4942
control.
Disposed
-= handler;
4955
control.
Disposed
+= handler;
4982
control.
Disposed
-= handler;
System\Windows\Forms\ControlTests.Handlers.cs (6)
115
control.
Disposed
+= (sender, e) =>
310
control.
Disposed
+= (sender, e) =>
615
control.
Disposed
+= (sender, e) =>
1847
control.
Disposed
+= (sender, e) =>
1942
control.
Disposed
+= (sender, e) =>
5013
control.
Disposed
+= (sender, e) =>
System\Windows\Forms\ControlTests.Methods.cs (40)
986
control.
Disposed
+= handler;
1011
control.
Disposed
-= handler;
1037
control.
Disposed
+= handler;
1064
control.
Disposed
-= handler;
1091
control.
Disposed
+= handler;
1093
child1.
Disposed
+= (sender, e) => child1CallCount++;
1095
child2.
Disposed
+= (sender, e) => child2CallCount++;
1142
control.
Disposed
-= handler;
1164
control.
Disposed
+= handler;
1189
control.
Disposed
-= handler;
1219
control.
Disposed
+= handler;
1252
control.
Disposed
-= handler;
1262
control.
Disposed
+= (sender, e) =>
1288
control.
Disposed
+= handler;
1313
control.
Disposed
-= handler;
1323
control.
Disposed
+= handler;
1348
control.
Disposed
-= handler;
1374
control.
Disposed
+= handler;
1401
control.
Disposed
-= handler;
1417
control.
Disposed
+= handler;
1444
control.
Disposed
-= handler;
1471
control.
Disposed
+= handler;
1473
child1.
Disposed
+= (sender, e) => child1CallCount++;
1475
child2.
Disposed
+= (sender, e) => child2CallCount++;
1522
control.
Disposed
-= handler;
1539
control.
Disposed
+= handler;
1541
child1.
Disposed
+= (sender, e) => child1CallCount++;
1543
child2.
Disposed
+= (sender, e) => child2CallCount++;
1590
control.
Disposed
-= handler;
1612
control.
Disposed
+= handler;
1637
control.
Disposed
-= handler;
1650
control.
Disposed
+= handler;
1675
control.
Disposed
-= handler;
1705
control.
Disposed
+= handler;
1738
control.
Disposed
-= handler;
1758
control.
Disposed
+= handler;
1791
control.
Disposed
-= handler;
1801
control.
Disposed
+= (sender, e) =>
4961
control.
Disposed
+= (sender, e) =>
5235
control.
Disposed
+= (sender, e) =>
System\Windows\Forms\ControlTests.Properties.cs (5)
1421
control.
Disposed
+= (sender, e) =>
1791
control.
Disposed
+= (sender, e) =>
2117
control.
Disposed
+= (sender, e) =>
5462
control.
Disposed
+= (sender, e) =>
10255
control.
Disposed
+= (sender, e) =>
System\Windows\Forms\DataGridViewTests.cs (17)
423
control.
Disposed
+= handler;
431
control.
Disposed
-= handler;
721
control.
Disposed
+= handler;
729
control.
Disposed
-= handler;
1351
control.
Disposed
+= handler;
1359
control.
Disposed
-= handler;
1660
control.
Disposed
+= handler;
1668
control.
Disposed
-= handler;
2051
control.
Disposed
+= handler;
2059
control.
Disposed
-= handler;
2257
control.
Disposed
+= handler;
2265
control.
Disposed
-= handler;
2524
control.
Disposed
+= handler;
2532
control.
Disposed
-= handler;
2738
control.
Disposed
+= handler;
2746
control.
Disposed
-= handler;
4081
toolTip.
Disposed
+= (sender, e) => toolTipDisposeCount++;
System\Windows\Forms\MonthCalendarTests.cs (2)
1865
control.
Disposed
+= (sender, e) =>
3887
control.
Disposed
+= (sender, e) =>
System\Windows\Forms\NotifyIconTests.cs (2)
724
notifyIcon.
Disposed
+= (sender, e) => callCount++;
783
notifyIcon.
Disposed
+= (sender, e) => callCount++;
System\Windows\Forms\ProgressBarTests.cs (2)
1330
control.
Disposed
+= (sender, e) =>
2474
control.
Disposed
+= (sender, e) =>
System\Windows\Forms\StatusStripTests.cs (6)
921
control.
Disposed
+= handler;
948
control.
Disposed
-= handler;
974
control.
Disposed
+= handler;
1001
control.
Disposed
-= handler;
1027
control.
Disposed
+= handler;
1054
control.
Disposed
-= handler;
System\Windows\Forms\TabControlTests.cs (2)
1974
control.
Disposed
+= (sender, e) =>
4599
control.
Disposed
+= (sender, e) =>
System\Windows\Forms\ToolStripControlHostTests.cs (6)
2589
item.
Disposed
+= handler;
2610
item.
Disposed
-= handler;
2631
item.
Disposed
+= handler;
2652
item.
Disposed
-= handler;
2663
item.
Disposed
+= handler;
2684
item.
Disposed
-= handler;
System\Windows\Forms\ToolStripDropDownTests.cs (26)
3054
control.
Disposed
+= handler;
3083
control.
Disposed
-= handler;
3111
control.
Disposed
+= handler;
3142
control.
Disposed
-= handler;
3167
control.
Disposed
+= handler;
3196
control.
Disposed
-= handler;
3227
control.
Disposed
+= handler;
3229
item1.
Disposed
+= (sender, e) => item1CallCount++;
3231
item2.
Disposed
+= (sender, e) => item2CallCount++;
3276
control.
Disposed
-= handler;
3298
control.
Disposed
+= handler;
3327
control.
Disposed
-= handler;
3337
control.
Disposed
+= handler;
3364
control.
Disposed
-= handler;
3392
control.
Disposed
+= handler;
3423
control.
Disposed
-= handler;
3438
control.
Disposed
+= handler;
3469
control.
Disposed
-= handler;
3500
control.
Disposed
+= handler;
3502
item1.
Disposed
+= (sender, e) => item1CallCount++;
3504
item2.
Disposed
+= (sender, e) => item2CallCount++;
3550
control.
Disposed
-= handler;
3569
control.
Disposed
+= handler;
3571
item1.
Disposed
+= (sender, e) => item1CallCount++;
3573
item2.
Disposed
+= (sender, e) => item2CallCount++;
3616
control.
Disposed
-= handler;
System\Windows\Forms\ToolStripItemTests.cs (17)
9850
item.
Disposed
+= handler;
9867
item.
Disposed
-= handler;
9886
item.
Disposed
+= handler;
9903
item.
Disposed
-= handler;
9924
item.
Disposed
+= handler;
9945
item.
Disposed
-= handler;
9966
item.
Disposed
+= handler;
9987
item.
Disposed
-= handler;
9999
item.
Disposed
+= handler;
10016
item.
Disposed
-= handler;
10037
item.
Disposed
+= handler;
10054
item.
Disposed
-= handler;
10077
item.
Disposed
+= handler;
10098
item.
Disposed
-= handler;
10121
item.
Disposed
+= handler;
10142
item.
Disposed
-= handler;
13389
owner.
Disposed
+= (sender, e) =>
System\Windows\Forms\ToolStripTests.cs (22)
4372
control.
Disposed
+= handler;
4401
control.
Disposed
-= handler;
4426
control.
Disposed
+= handler;
4455
control.
Disposed
-= handler;
4486
control.
Disposed
+= handler;
4488
item1.
Disposed
+= (sender, e) => item1CallCount++;
4490
item2.
Disposed
+= (sender, e) => item2CallCount++;
4535
control.
Disposed
-= handler;
4557
control.
Disposed
+= handler;
4586
control.
Disposed
-= handler;
4596
control.
Disposed
+= handler;
4623
control.
Disposed
-= handler;
4654
control.
Disposed
+= handler;
4656
item1.
Disposed
+= (sender, e) => item1CallCount++;
4658
item2.
Disposed
+= (sender, e) => item2CallCount++;
4704
control.
Disposed
-= handler;
4723
control.
Disposed
+= handler;
4725
item1.
Disposed
+= (sender, e) => item1CallCount++;
4727
item2.
Disposed
+= (sender, e) => item2CallCount++;
4770
control.
Disposed
-= handler;
6863
control.
Disposed
+= handler;
6872
control.
Disposed
-= handler;
System\Windows\Forms\TreeViewTests.cs (2)
3216
control.
Disposed
+= (sender, e) =>
6606
control.
Disposed
+= (sender, e) =>
System\Windows\Forms\WebBrowserTests.cs (12)
2537
control.
Disposed
+= handler;
2564
control.
Disposed
-= handler;
2592
control.
Disposed
+= handler;
2619
control.
Disposed
-= handler;
2640
control.
Disposed
+= handler;
2667
control.
Disposed
-= handler;
2684
control.
Disposed
+= handler;
2711
control.
Disposed
-= handler;
2739
control.
Disposed
+= handler;
2766
control.
Disposed
-= handler;
2776
control.
Disposed
+= handler;
2803
control.
Disposed
-= handler;
TrackBarTests.cs (2)
1696
control.
Disposed
+= (sender, e) =>
2709
control.
Disposed
+= (sender, e) =>