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