1 write to Destination
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
45Destination = client;
20 references to Destination
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\OleDragDropHandler.cs (19)
83dropOk = dropOk && (dragObjects[i] is IComponent component) && Destination.IsDropOk(component); 108if (o is IComponent component && !Destination.IsDropOk(component)) 325Control parentControl = Destination.GetDesignerControl(); 340Control comp = Destination.GetControlForComponent(comps[i])!; 457Control c = Destination.GetDesignerControl(); 505AddCurrentDrag(data, Destination.Component); 682bool newContainer = dragOwner is null || Destination.Component is null || dragOwner.Site!.Container != Destination.Component.Site!.Container; 754oldDesignerControl = Destination.GetDesignerControl(); 758Point dropPt = Destination.GetDesignerControl().PointToClient(new Point(de.X, de.Y)); 774if (!Destination.AddComponent(comp, name!, false)) 784if (Destination.GetControlForComponent(comp) is null) 792if (Destination is ParentControlDesigner parentDesigner) 794Control c = Destination.GetControlForComponent(comp)!; 872if (!Destination.CanModifyComponents) 899&& Destination.CanModifyComponents) 956&& Destination.CanModifyComponents; 965Point convertedPoint = Destination.GetDesignerControl().PointToClient(new Point(de.X, de.Y)); 971if (!Destination.GetDesignerControl().ClientRectangle.Contains(convertedPoint))
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1403IOleDragClient target = ddh.Destination;