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