3 implementations of GetDesignerControl
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ComponentTray.cs (1)
540
Control IOleDragClient.
GetDesignerControl
() => this;
System\Windows\Forms\Design\CompositionDesigner.cs (1)
57
Control IOleDragClient.
GetDesignerControl
()
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
2531
Control IOleDragClient.
GetDesignerControl
()
6 references to GetDesignerControl
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\OleDragDropHandler.cs (6)
325
Control parentControl = Destination.
GetDesignerControl
();
457
Control c = Destination.
GetDesignerControl
();
754
oldDesignerControl = Destination.
GetDesignerControl
();
758
Point dropPt = Destination.
GetDesignerControl
().PointToClient(new Point(de.X, de.Y));
965
Point convertedPoint = Destination.
GetDesignerControl
().PointToClient(new Point(de.X, de.Y));
971
if (!Destination.
GetDesignerControl
().ClientRectangle.Contains(convertedPoint))