4 implementations of GetControlForComponent
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ComponentTray.cs (1)
542
Control IOleDragClient.
GetControlForComponent
(object component)
System\Windows\Forms\Design\CompositionDesigner.cs (1)
62
Control IOleDragClient.
GetControlForComponent
(object component)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
242
Control IOleDragClient.
GetControlForComponent
(object component)
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
2541
Control IOleDragClient.
GetControlForComponent
(object component)
9 references to GetControlForComponent
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\CommandSet.cs (1)
2052
Control designerControl = designer.
GetControlForComponent
(curComp);
System\Windows\Forms\Design\ComponentTray.cs (2)
631
if (((IOleDragClient)this).
GetControlForComponent
(component) is TrayControl tc)
1454
Control c = ((IOleDragClient)this).
GetControlForComponent
(o);
System\Windows\Forms\Design\DocumentDesigner.cs (1)
245
return c ?? (_componentTray is not null ? ((IOleDragClient)_componentTray).
GetControlForComponent
(component) : null);
System\Windows\Forms\Design\OleDragDropHandler.cs (3)
340
Control comp = Destination.
GetControlForComponent
(comps[i])!;
784
if (Destination.
GetControlForComponent
(comp) is null)
794
Control c = Destination.
GetControlForComponent
(comp)!;
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
476
selectedControl = ((IOleDragClient)this).
GetControlForComponent
(primarySelection);
1537
draggedControl = ((IOleDragClient)this).
GetControlForComponent
(dragComps[i]);