23 references to ControlToAdornerWindow
System.Windows.Forms.Design (23)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
301
Point loc =
ControlToAdornerWindow
(c);
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (2)
152
Point controlOrigin = _behaviorService.
ControlToAdornerWindow
(_containerControl);
242
controlOrigin = _behaviorService.
ControlToAdornerWindow
(_containerControl);
System\Windows\Forms\Design\Behavior\DesignerActionGlyph.cs (1)
136
topRight = _adorner.BehaviorService.
ControlToAdornerWindow
(relatedControl);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (4)
202
controlBounds.Location = controlRect.Location = _behaviorService.
ControlToAdornerWindow
(controlDesigner.Control);
541
_dragOffset = _behaviorService.
ControlToAdornerWindow
(targetControl);
689
Rectangle currentBounds = new(_behaviorService.
ControlToAdornerWindow
(targetControl), targetControl.Size);
1087
Rectangle dragBounds = new(_behaviorService.
ControlToAdornerWindow
(targetControl), targetControl.Size);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
274
_parentLocation = _behaviorService.
ControlToAdornerWindow
(control);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
118
Point loc = _behaviorService.
ControlToAdornerWindow
(parent);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
466
Point pt = BehaviorService.
ControlToAdornerWindow
(primaryControl);
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (1)
52
Point loc = _behaviorService.
ControlToAdornerWindow
(Parent);
System\Windows\Forms\Design\DocumentDesigner.cs (1)
512
Point loc = BehaviorService.
ControlToAdornerWindow
((Control)Component);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1041
Point loc = BehaviorService.
ControlToAdornerWindow
((Control)Component);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1078
Point controlLoc = BehaviorService.
ControlToAdornerWindow
(Control);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1368
Point loc = BehaviorService.
ControlToAdornerWindow
((Control)Component);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
696
Point loc = behaviorService.
ControlToAdornerWindow
(_designMenu);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
516
Point loc = b.
ControlToAdornerWindow
((Control)ImmediateParent);
922
Point location = behaviorService.
ControlToAdornerWindow
((Control)ImmediateParent);
1223
Point location = behaviorService.
ControlToAdornerWindow
(parent);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
477
Point loc = BehaviorService.
ControlToAdornerWindow
(_miniToolStrip);
1156
Point loc = BehaviorService.
ControlToAdornerWindow
(_miniToolStrip);
1305
Point loc = BehaviorService.
ControlToAdornerWindow
(_miniToolStrip);