1 write to _dragControls
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
760
_dragControls
= data.GetSortedDragControls(out int primaryIndex).OfType<Control>().ToList();
19 references to _dragControls
System.Windows.Forms.Design (19)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (19)
235
_childInfo[i].InSelectionCollection =
_dragControls
?.Contains(currentControl) == true;
338
if (
_dragControls
.Count == 1)
340
string name = TypeDescriptor.GetComponentName(
_dragControls
[0]);
343
name =
_dragControls
[0].GetType().Name;
349
return string.Format(performCopy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls,
_dragControls
.Count);
615
foreach (var dragControl in
_dragControls
)
629
List<IComponent> tempList = DesignerUtils.CopyDragObjects(
_dragControls
, Component.Site);
640
originalControls.Add(
_dragControls
[j]);
643
if (_primaryDragControl.Equals(
_dragControls
[j]))
648
_dragControls
[j] = (Control)tempList[j];
670
for (int i =
_dragControls
.Count - 1; i >= 0; i--)
672
if (_primaryDragControl.Equals(
_dragControls
[i]))
677
children.Add(
_dragControls
[i]);
678
children.SetChildIndex(
_dragControls
[i], _insertionIndex);
681
SelectionService.SetSelectedComponents(new IComponent[] {
_dragControls
[i] }, SelectionTypes.Add);
694
_dragControls
[i] = originalControls[i];
761
_primaryDragControl =
_dragControls
[primaryIndex];
774
_dragControls
?.Clear();
900
if (
_dragControls
is not null &&