110 references to HandleDestroyed
System.Windows.Forms (13)
System\Windows\Forms\ApplicationContext.cs (3)
60
_mainForm.
HandleDestroyed
-= onClose;
67
_mainForm.
HandleDestroyed
+= onClose;
144
form.
HandleDestroyed
-= OnMainFormDestroy;
System\Windows\Forms\Control.cs (1)
7420
/// Raises the <see cref="
HandleDestroyed
"/> event.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
22
controls[i].
HandleDestroyed
+= OnControlDestroyHandle;
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (2)
37
_control.
HandleDestroyed
+= OnDestroyHandle;
60
_control.
HandleDestroyed
-= OnDestroyHandle;
System\Windows\Forms\ToolTip\ToolTip.cs (6)
524
currentTopLevel.
HandleDestroyed
+= TopLevelDestroyed;
687
_topLevelControl.
HandleDestroyed
-= TopLevelDestroyed;
1156
control.
HandleDestroyed
-= HandleDestroyed;
1232
control.
HandleDestroyed
+= HandleDestroyed;
1254
control.
HandleDestroyed
-= HandleDestroyed;
2251
control.
HandleDestroyed
-= HandleDestroyed;
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\ByteViewerTests.cs (4)
268
control.
HandleDestroyed
+= handler;
274
control.
HandleDestroyed
-= handler;
295
control.
HandleDestroyed
+= handler;
301
control.
HandleDestroyed
-= handler;
System.Windows.Forms.Tests (93)
System\Windows\Forms\ButtonBaseTests.cs (4)
5437
control.
HandleDestroyed
+= handler;
5443
control.
HandleDestroyed
-= handler;
5464
control.
HandleDestroyed
+= handler;
5470
control.
HandleDestroyed
-= handler;
System\Windows\Forms\ButtonTests.cs (4)
2183
control.
HandleDestroyed
+= handler;
2189
control.
HandleDestroyed
-= handler;
2210
control.
HandleDestroyed
+= handler;
2216
control.
HandleDestroyed
-= handler;
System\Windows\Forms\ControlTests.Handlers.cs (16)
2316
control.
HandleDestroyed
+= handler;
2323
control.
HandleDestroyed
-= handler;
2356
control.
HandleDestroyed
+= handler;
2364
control.
HandleDestroyed
-= handler;
2399
control.
HandleDestroyed
+= handler;
2407
control.
HandleDestroyed
-= handler;
2432
control.
HandleDestroyed
+= handler;
2440
control.
HandleDestroyed
-= handler;
2464
control.
HandleDestroyed
+= handler;
2471
control.
HandleDestroyed
-= handler;
2497
control.
HandleDestroyed
+= handler;
2505
control.
HandleDestroyed
-= handler;
2532
control.
HandleDestroyed
+= handler;
2540
control.
HandleDestroyed
-= handler;
2567
control.
HandleDestroyed
+= handler;
2575
control.
HandleDestroyed
-= handler;
System\Windows\Forms\ControlTests.Methods.cs (5)
938
control.
HandleDestroyed
+= handler;
964
control.
HandleDestroyed
-= handler;
1206
control.
HandleDestroyed
+= (sender, e) => destroyedCallCount++;
1692
control.
HandleDestroyed
+= (sender, e) => destroyedCallCount++;
1755
control.
HandleDestroyed
+= (sender, e) => destroyedCallCount++;
System\Windows\Forms\Design\ComponentEditorFormTests.cs (4)
324
control.
HandleDestroyed
+= handler;
330
control.
HandleDestroyed
-= handler;
352
control.
HandleDestroyed
+= handler;
358
control.
HandleDestroyed
-= handler;
System\Windows\Forms\FormTests.cs (4)
2532
control.
HandleDestroyed
+= handler;
2538
control.
HandleDestroyed
-= handler;
2559
control.
HandleDestroyed
+= handler;
2565
control.
HandleDestroyed
-= handler;
System\Windows\Forms\MonthCalendarTests.cs (4)
3670
control.
HandleDestroyed
+= handler;
3676
control.
HandleDestroyed
-= handler;
3697
control.
HandleDestroyed
+= handler;
3703
control.
HandleDestroyed
-= handler;
System\Windows\Forms\PictureBoxTests.cs (4)
2257
control.
HandleDestroyed
+= handler;
2264
control.
HandleDestroyed
-= handler;
2287
control.
HandleDestroyed
+= handler;
2294
control.
HandleDestroyed
-= handler;
System\Windows\Forms\ProgressBarTests.cs (4)
2180
control.
HandleDestroyed
+= handler;
2187
control.
HandleDestroyed
-= handler;
2210
control.
HandleDestroyed
+= handler;
2217
control.
HandleDestroyed
-= handler;
System\Windows\Forms\PropertyGridTests.cs (4)
3578
control.
HandleDestroyed
+= handler;
3584
control.
HandleDestroyed
-= handler;
3606
control.
HandleDestroyed
+= handler;
3612
control.
HandleDestroyed
-= handler;
System\Windows\Forms\RadioButtonTests.cs (4)
979
control.
HandleDestroyed
+= handler;
985
control.
HandleDestroyed
-= handler;
1006
control.
HandleDestroyed
+= handler;
1012
control.
HandleDestroyed
-= handler;
System\Windows\Forms\SplitterTests.cs (4)
1767
control.
HandleDestroyed
+= handler;
1773
control.
HandleDestroyed
-= handler;
1800
control.
HandleDestroyed
+= handler;
1809
control.
HandleDestroyed
-= handler;
System\Windows\Forms\TabControlTests.cs (4)
4385
control.
HandleDestroyed
+= handler;
4391
control.
HandleDestroyed
-= handler;
4412
control.
HandleDestroyed
+= handler;
4418
control.
HandleDestroyed
-= handler;
System\Windows\Forms\TableLayoutPanelTests.cs (4)
1278
control.
HandleDestroyed
+= handler;
1284
control.
HandleDestroyed
-= handler;
1305
control.
HandleDestroyed
+= handler;
1311
control.
HandleDestroyed
-= handler;
System\Windows\Forms\ToolStripDropDownTests.cs (4)
3991
control.
HandleDestroyed
+= handler;
3997
control.
HandleDestroyed
-= handler;
4018
control.
HandleDestroyed
+= handler;
4024
control.
HandleDestroyed
-= handler;
System\Windows\Forms\TreeViewTests.cs (8)
6174
control.
HandleDestroyed
+= handler;
6181
control.
HandleDestroyed
-= handler;
6204
control.
HandleDestroyed
+= handler;
6211
control.
HandleDestroyed
-= handler;
6237
control.
HandleDestroyed
+= handler;
6245
control.
HandleDestroyed
-= handler;
6275
control.
HandleDestroyed
+= handler;
6283
control.
HandleDestroyed
-= handler;
System\Windows\Forms\UpDownBaseTests.cs (4)
1910
control.
HandleDestroyed
+= handler;
1917
control.
HandleDestroyed
-= handler;
1940
control.
HandleDestroyed
+= handler;
1947
control.
HandleDestroyed
-= handler;
TextBoxBaseTests.cs (4)
5436
control.
HandleDestroyed
+= handler;
5442
control.
HandleDestroyed
-= handler;
5484
control.
HandleDestroyed
+= handler;
5497
control.
HandleDestroyed
-= handler;
TextBoxTests.cs (4)
601
control.
HandleDestroyed
+= handler;
607
control.
HandleDestroyed
-= handler;
649
control.
HandleDestroyed
+= handler;
662
control.
HandleDestroyed
-= handler;