1 implementation of DestroyComponent
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
997void IDesignerHost.DestroyComponent(IComponent component)
18 references to DestroyComponent
System.Windows.Forms.Design (14)
System\ComponentModel\Design\CollectionEditor.cs (1)
203host.DestroyComponent(component);
System\ComponentModel\Design\UndoEngine.UndoUnit.AddRemoveUndoEvent.cs (1)
92host.DestroyComponent(component);
System\Drawing\Design\ToolboxItem.cs (1)
301host.DestroyComponent(components[index]);
System\Windows\Forms\Design\CommandSet.cs (2)
1544host.DestroyComponent(component); 1755host.DestroyComponent((IComponent)obj);
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
234host?.DestroyComponent(removeComp);
System\Windows\Forms\Design\StyleEditorForm.cs (1)
1074host.DestroyComponent(obj as Component);
System\Windows\Forms\Design\TabControlDesigner.cs (1)
360host.DestroyComponent(tp);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1908host.DestroyComponent(control);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
796host.DestroyComponent(ToolStripItem); 1072host.DestroyComponent(ToolStripItem);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (3)
159_designerHost.DestroyComponent(item); 499_designerHost.DestroyComponent(editedItem); 658_designerHost.DestroyComponent(editedItem);
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\CollectionEditorTests.cs (2)
467.Setup(h => h.DestroyComponent(mockComponent.Object)) 488mockHost.Verify(c => c.DestroyComponent(mockComponent.Object), Times.Once());
System\Drawing\Design\ToolboxItemTests.cs (2)
571.Setup(h => h.DestroyComponent(component)); 890.Setup(h => h.DestroyComponent(component));