34 references to ControlRemoved
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
7240
/// Raises the <see cref="
ControlRemoved
"/> event.
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
504
add => base.
ControlRemoved
+= value;
505
remove => base.
ControlRemoved
-= value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
294
add => base.
ControlRemoved
+= value;
295
remove => base.
ControlRemoved
-= value;
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ControlDesigner.cs (2)
482
Control.
ControlRemoved
-= OnControlRemoved;
954
Control.
ControlRemoved
+= OnControlRemoved;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (4)
448
Table.
ControlRemoved
-= OnControlRemoved;
450
Table.
ControlRemoved
+= OnControlRemoved;
824
Table.
ControlRemoved
-= OnControlRemoved;
1173
Control.
ControlRemoved
+= OnControlRemoved;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
227
Control.
ControlRemoved
-= OnControlRemoved;
345
Control.
ControlRemoved
+= OnControlRemoved;
System.Windows.Forms.Tests (19)
System\Windows\Forms\ControlTests.ControlCollection.cs (3)
1304
owner.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
2817
owner.
ControlRemoved
+= handler;
2833
owner.
ControlRemoved
-= handler;
System\Windows\Forms\ControlTests.Handlers.cs (2)
1054
control.
ControlRemoved
+= handler;
1059
control.
ControlRemoved
-= handler;
System\Windows\Forms\ControlTests.Methods.cs (6)
1021
parent.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1078
control.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1358
parent.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1411
parent.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1458
control.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1536
control.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (4)
1305
owner.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1356
owner.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1402
owner.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
1460
owner.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
System\Windows\Forms\TabControlTests.cs (4)
4973
control.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
5019
control.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
5062
control.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
5115
control.
ControlRemoved
+= (sender, e) => controlRemovedCallCount++;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1096
add { base.
ControlRemoved
+= value; }
1097
remove { base.
ControlRemoved
-= value; }