6 instantiations of DragAssistanceManager
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
735_dragAssistanceManager = new DragAssistanceManager(_serviceProviderTarget, _graphicsTarget, _dragObjects, null, _lastEffect == DragDropEffects.Copy);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
259_dragManager = new DragAssistanceManager(_serviceProvider, components, true);
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
78_dragManager ??= new DragAssistanceManager(_serviceProvider);
System\Windows\Forms\Design\CommandSet.cs (1)
810dragManager = new DragAssistanceManager(comp.Site, selComps);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
629dragManager = new DragAssistanceManager(des.Component.Site, selComps);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1931_dragManager = new DragAssistanceManager(Component.Site);
10 references to DragAssistanceManager
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
45private DragAssistanceManager _dragAssistanceManager;
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
37private DragAssistanceManager _dragManager; // this object will integrate SnapLines into the resize
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (6)
24private DragAssistanceManager _dragManager; // used to apply snaplines when dragging a new tool rect on the designer's surface 119DragAssistanceManager.Line[] lines = _dragManager.GetRecentLines(); 121foreach (DragAssistanceManager.Line line in lines) 123if (line.LineType == DragAssistanceManager.LineType.Standard) 162else if (line.LineType is DragAssistanceManager.LineType.Margin 163or DragAssistanceManager.LineType.Padding)
System\Windows\Forms\Design\CommandSet.cs (1)
49protected DragAssistanceManager? dragManager; // point to the snapline engine (only valid between keydown and timer expiration)
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
31private DragAssistanceManager _dragManager; // used to apply snaplines when dragging a new tool rect on the designer's surface