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