2 writes to _dragManager
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (2)
78
_dragManager
??= new DragAssistanceManager(_serviceProvider);
95
_dragManager
= null;
10 references to _dragManager
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (10)
92
if (
_dragManager
is not null)
94
_dragManager
.OnMouseUp();
117
if (
_dragManager
is not null)
119
DragAssistanceManager.Line[] lines =
_dragManager
.GetRecentLines();
306
if (altKeyPressed &&
_dragManager
is not null)
309
_dragManager
.EraseSnapLines();
322
if (
_dragManager
is not null && _targetAllowsSnapLines && !altKeyPressed)
324
_lastOffset =
_dragManager
.OnMouseMove(newRectangle, GenerateNewToolSnapLines(newRectangle));
356
if (
_dragManager
is not null && _targetAllowsSnapLines && !altKeyPressed)
358
_dragManager
.RenderSnapLinesInternal();