4 writes to dragComponent
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (4)
425
_dragComponents[j].
dragComponent
= temp[j];
514
_dragComponents[i].
dragComponent
= originalControls[i];
576
_dragComponents[i].
dragComponent
= originalControls[i];
947
_dragComponents[i].
dragComponent
= _dragObjects[i];
19 references to dragComponent
System.Windows.Forms.Design (19)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (19)
231
Control currentControl = _dragComponents[dragComponentIndex].
dragComponent
as Control;
264
PropertyDescriptor propLoc = TypeDescriptor.GetProperties(_dragComponents[dragComponentIndex].
dragComponent
)["Location"];
265
if ((propLoc is not null) && (_dragComponents[dragComponentIndex].
dragComponent
is Control currentControl))
365
string name = TypeDescriptor.GetComponentName(_dragComponents[0].
dragComponent
);
368
name = _dragComponents[0].
dragComponent
.GetType().Name;
408
temp.Add(_dragComponents[i].
dragComponent
);
424
originalControls.Add(_dragComponents[j].
dragComponent
);
448
initialDropPoint = ((Control)_dragComponents[_primaryComponentIndex].
dragComponent
).Parent.PointToClient(initialDropPoint);
453
if (((Control)(_dragComponents[_primaryComponentIndex].
dragComponent
)).Parent.IsMirrored)
455
initialDropPoint.Offset(-((Control)(_dragComponents[_primaryComponentIndex].
dragComponent
)).Width, 0);
459
Control primaryComponent = _dragComponents[_primaryComponentIndex].
dragComponent
as Control;
482
selSvc?.SetSelectedComponents(new object[] { _dragComponents[_primaryComponentIndex].
dragComponent
}, SelectionTypes.Primary | SelectionTypes.Replace);
497
selSvc?.SetSelectedComponents(new object[] { _dragComponents[i].
dragComponent
}, SelectionTypes.Add);
583
_statusCommandUITarget?.SetStatusInformation(selSvc is null ? _dragComponents[_primaryComponentIndex].
dragComponent
as Component :
820
if (_dragComponents[_primaryComponentIndex].
dragComponent
is Control c)
884
if (_dragComponents[_primaryComponentIndex].
dragComponent
is Control)
988
if (primaryControl.Equals(_dragComponents[i].
dragComponent
as Control))
1061
dragControls.Add(_dragComponents[i].
dragComponent
);
1116
if (_dragComponents[i].
dragComponent
is Control c)