13 references to AdornerWindowPointToScreen
System.Windows.Forms.Design (13)
System\ComponentModel\Design\DesignerActionUI.cs (2)
668
glyphLocationScreenCoord = _behaviorService.
AdornerWindowPointToScreen
(glyph.Bounds.Location);
676
glyphLocationScreenCoord = _behaviorService.
AdornerWindowPointToScreen
(glyph.Bounds.Location);
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
260
public Point AdornerWindowToScreen() =>
AdornerWindowPointToScreen
(new Point(0, 0));
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (2)
153
controlOrigin = _behaviorService.
AdornerWindowPointToScreen
(controlOrigin);
243
controlOrigin = _behaviorService.
AdornerWindowPointToScreen
(controlOrigin);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (5)
174
pt = _behaviorServiceSource.
AdornerWindowPointToScreen
(pt);
187
pt = _behaviorServiceTarget.
AdornerWindowPointToScreen
(pt);
442
Point initialDropPoint = _behaviorServiceSource.
AdornerWindowPointToScreen
(_dragComponents[_primaryComponentIndex].draggedLocation);
697
controlRect.Location = _behaviorServiceSource.
AdornerWindowPointToScreen
(controlRect.Location);
823
Point dropPoint = _behaviorServiceSource.
AdornerWindowPointToScreen
(_dragComponents[_primaryComponentIndex].draggedLocation);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
478
loc = BehaviorService.
AdornerWindowPointToScreen
(loc);
1157
loc = BehaviorService.
AdornerWindowPointToScreen
(loc);
1306
loc = BehaviorService.
AdornerWindowPointToScreen
(loc);