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)
810
dragManager = new
DragAssistanceManager
(comp.Site, selComps);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
629
dragManager = 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)
45
private
DragAssistanceManager
_dragAssistanceManager;
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
37
private
DragAssistanceManager
_dragManager; // this object will integrate SnapLines into the resize
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (6)
24
private
DragAssistanceManager
_dragManager; // used to apply snaplines when dragging a new tool rect on the designer's surface
119
DragAssistanceManager
.Line[] lines = _dragManager.GetRecentLines();
121
foreach (
DragAssistanceManager
.Line line in lines)
123
if (line.LineType ==
DragAssistanceManager
.LineType.Standard)
162
else if (line.LineType is
DragAssistanceManager
.LineType.Margin
163
or
DragAssistanceManager
.LineType.Padding)
System\Windows\Forms\Design\CommandSet.cs (1)
49
protected
DragAssistanceManager
? dragManager; // point to the snapline engine (only valid between keydown and timer expiration)
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
31
private
DragAssistanceManager
_dragManager; // used to apply snaplines when dragging a new tool rect on the designer's surface