34 references to ControlRemoved
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
7199
/// Raises the <see cref="
ControlRemoved
"/> event.
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
505
add => base.
ControlRemoved
+= value;
506
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)
1099
add { base.
ControlRemoved
+= value; }
1100
remove { base.
ControlRemoved
-= value; }