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; 338if (_dragControls.Count == 1) 340string name = TypeDescriptor.GetComponentName(_dragControls[0]); 343name = _dragControls[0].GetType().Name; 349return string.Format(performCopy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls, _dragControls.Count); 615foreach (var dragControl in _dragControls) 629List<IComponent> tempList = DesignerUtils.CopyDragObjects(_dragControls, Component.Site); 640originalControls.Add(_dragControls[j]); 643if (_primaryDragControl.Equals(_dragControls[j])) 648_dragControls[j] = (Control)tempList[j]; 670for (int i = _dragControls.Count - 1; i >= 0; i--) 672if (_primaryDragControl.Equals(_dragControls[i])) 677children.Add(_dragControls[i]); 678children.SetChildIndex(_dragControls[i], _insertionIndex); 681SelectionService.SetSelectedComponents(new IComponent[] { _dragControls[i] }, SelectionTypes.Add); 694_dragControls[i] = originalControls[i]; 761_primaryDragControl = _dragControls[primaryIndex]; 774_dragControls?.Clear(); 900if (_dragControls is not null &&