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)
7415/// 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)
270control.HandleDestroyed += handler; 276control.HandleDestroyed -= handler; 297control.HandleDestroyed += handler; 303control.HandleDestroyed -= handler;
System.Windows.Forms.Tests (93)
System\Windows\Forms\ButtonBaseTests.cs (4)
5439control.HandleDestroyed += handler; 5445control.HandleDestroyed -= handler; 5466control.HandleDestroyed += handler; 5472control.HandleDestroyed -= handler;
System\Windows\Forms\ButtonTests.cs (4)
2185control.HandleDestroyed += handler; 2191control.HandleDestroyed -= handler; 2212control.HandleDestroyed += handler; 2218control.HandleDestroyed -= handler;
System\Windows\Forms\ControlTests.Handlers.cs (16)
2318control.HandleDestroyed += handler; 2325control.HandleDestroyed -= handler; 2358control.HandleDestroyed += handler; 2366control.HandleDestroyed -= handler; 2401control.HandleDestroyed += handler; 2409control.HandleDestroyed -= handler; 2434control.HandleDestroyed += handler; 2442control.HandleDestroyed -= handler; 2466control.HandleDestroyed += handler; 2473control.HandleDestroyed -= handler; 2499control.HandleDestroyed += handler; 2507control.HandleDestroyed -= handler; 2534control.HandleDestroyed += handler; 2542control.HandleDestroyed -= handler; 2569control.HandleDestroyed += handler; 2577control.HandleDestroyed -= handler;
System\Windows\Forms\ControlTests.Methods.cs (5)
939control.HandleDestroyed += handler; 965control.HandleDestroyed -= handler; 1207control.HandleDestroyed += (sender, e) => destroyedCallCount++; 1693control.HandleDestroyed += (sender, e) => destroyedCallCount++; 1756control.HandleDestroyed += (sender, e) => destroyedCallCount++;
System\Windows\Forms\Design\ComponentEditorFormTests.cs (4)
326control.HandleDestroyed += handler; 332control.HandleDestroyed -= handler; 354control.HandleDestroyed += handler; 360control.HandleDestroyed -= handler;
System\Windows\Forms\FormTests.cs (4)
2534control.HandleDestroyed += handler; 2540control.HandleDestroyed -= handler; 2561control.HandleDestroyed += handler; 2567control.HandleDestroyed -= handler;
System\Windows\Forms\MonthCalendarTests.cs (4)
3672control.HandleDestroyed += handler; 3678control.HandleDestroyed -= handler; 3699control.HandleDestroyed += handler; 3705control.HandleDestroyed -= handler;
System\Windows\Forms\PictureBoxTests.cs (4)
2259control.HandleDestroyed += handler; 2266control.HandleDestroyed -= handler; 2289control.HandleDestroyed += handler; 2296control.HandleDestroyed -= handler;
System\Windows\Forms\ProgressBarTests.cs (4)
2182control.HandleDestroyed += handler; 2189control.HandleDestroyed -= handler; 2212control.HandleDestroyed += handler; 2219control.HandleDestroyed -= handler;
System\Windows\Forms\PropertyGridTests.cs (4)
3580control.HandleDestroyed += handler; 3586control.HandleDestroyed -= handler; 3608control.HandleDestroyed += handler; 3614control.HandleDestroyed -= handler;
System\Windows\Forms\RadioButtonTests.cs (4)
981control.HandleDestroyed += handler; 987control.HandleDestroyed -= handler; 1008control.HandleDestroyed += handler; 1014control.HandleDestroyed -= handler;
System\Windows\Forms\SplitterTests.cs (4)
1769control.HandleDestroyed += handler; 1775control.HandleDestroyed -= handler; 1802control.HandleDestroyed += handler; 1811control.HandleDestroyed -= handler;
System\Windows\Forms\TabControlTests.cs (4)
4387control.HandleDestroyed += handler; 4393control.HandleDestroyed -= handler; 4414control.HandleDestroyed += handler; 4420control.HandleDestroyed -= handler;
System\Windows\Forms\TableLayoutPanelTests.cs (4)
1280control.HandleDestroyed += handler; 1286control.HandleDestroyed -= handler; 1307control.HandleDestroyed += handler; 1313control.HandleDestroyed -= handler;
System\Windows\Forms\ToolStripDropDownTests.cs (4)
3993control.HandleDestroyed += handler; 3999control.HandleDestroyed -= handler; 4020control.HandleDestroyed += handler; 4026control.HandleDestroyed -= handler;
System\Windows\Forms\TreeViewTests.cs (8)
6176control.HandleDestroyed += handler; 6183control.HandleDestroyed -= handler; 6206control.HandleDestroyed += handler; 6213control.HandleDestroyed -= handler; 6239control.HandleDestroyed += handler; 6247control.HandleDestroyed -= handler; 6277control.HandleDestroyed += handler; 6285control.HandleDestroyed -= handler;
System\Windows\Forms\UpDownBaseTests.cs (4)
1912control.HandleDestroyed += handler; 1919control.HandleDestroyed -= handler; 1942control.HandleDestroyed += handler; 1949control.HandleDestroyed -= handler;
TextBoxBaseTests.cs (4)
5438control.HandleDestroyed += handler; 5444control.HandleDestroyed -= handler; 5486control.HandleDestroyed += handler; 5499control.HandleDestroyed -= handler;
TextBoxTests.cs (4)
603control.HandleDestroyed += handler; 609control.HandleDestroyed -= handler; 651control.HandleDestroyed += handler; 664control.HandleDestroyed -= handler;