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