78 references to Replace
System.Windows.Forms.Design (78)
System\ComponentModel\Design\DesignerHost.cs (2)
709
selectionService?.SetSelectedComponents(null, SelectionTypes.
Replace
);
1150
ss.SetSelectedComponents(selectedComponents, SelectionTypes.
Replace
);
System\ComponentModel\Design\SelectionService.cs (2)
363
bool fReplace = (selectionType & SelectionTypes.
Replace
) == SelectionTypes.
Replace
;
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
482
ss.SetSelectedComponents(list, SelectionTypes.
Replace
);
System\Windows\Forms\Design\BaseContextMenuStrip.cs (1)
323
selectionService.SetSelectedComponents(new object[] { _comp }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
482
selSvc?.SetSelectedComponents(new object[] { _dragComponents[_primaryComponentIndex].dragComponent }, SelectionTypes.Primary | SelectionTypes.
Replace
);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (3)
66
selection?.SetSelectedComponents(new object[] { _relatedControl }, SelectionTypes.
Replace
);
108
selectionService?.SetSelectedComponents(new object[] { _relatedControl.Parent }, SelectionTypes.
Replace
);
186
i == 0 ? SelectionTypes.Primary | SelectionTypes.
Replace
: SelectionTypes.Add);
System\Windows\Forms\Design\CommandSet.cs (9)
1478
SelectionService.SetSelectedComponents(Array.Empty<object>(), SelectionTypes.
Replace
);
1558
SelectionService.SetSelectedComponents(new object[] { commonParent }, SelectionTypes.
Replace
);
1562
SelectionService.SetSelectedComponents(new object[] { host.RootComponent }, SelectionTypes.
Replace
);
1606
SelectionService.SetSelectedComponents(Array.Empty<object>(), SelectionTypes.
Replace
);
1803
SelectionService.SetSelectedComponents(new object[] { commonParent }, SelectionTypes.
Replace
);
1807
SelectionService.SetSelectedComponents(new object[] { host.RootComponent }, SelectionTypes.
Replace
);
1814
SelectionService.SetSelectedComponents(new object[] { host.RootComponent }, SelectionTypes.
Replace
);
2160
SelectionService?.SetSelectedComponents(selectComps.ToArray(), SelectionTypes.
Replace
);
2226
SelectionService.SetSelectedComponents(selComps, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ComponentTray.cs (1)
2249
s.SetSelectedComponents(new object[] { _component }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ControlCommandSet.cs (3)
948
selSvc.SetSelectedComponents(new object[] { baseComp }, SelectionTypes.
Replace
);
1421
selSvc.SetSelectedComponents(new object[] { next }, SelectionTypes.
Replace
);
1502
selSvc.SetSelectedComponents(new object[] { targetSelection }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\DocumentDesigner.cs (1)
1130
ss.SetSelectedComponents(new object[] { Component }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
666
SelectionService.SetSelectedComponents(new IComponent[] { _primaryDragControl }, SelectionTypes.Primary | SelectionTypes.
Replace
);
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
270
selSvc.SetSelectedComponents(selectComps.ToArray(), SelectionTypes.
Replace
);
823
selService.SetSelectedComponents(selectComps.ToArray(), SelectionTypes.
Replace
);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1633
sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
618
selSvc?.SetSelectedComponents(new object[] { control }, SelectionTypes.Primary | SelectionTypes.
Replace
);
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
114
selSvc?.SetSelectedComponents(new object[] { component }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripDesigner.cs (8)
650
SelectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
658
SelectionService.SetSelectedComponents(new IComponent[] { item }, SelectionTypes.
Replace
);
667
SelectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
1101
SelectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
1105
SelectionService.SetSelectedComponents(new IComponent[] { targetSelection }, SelectionTypes.
Replace
);
1937
SelectionService.SetSelectedComponents(new IComponent[] { primaryItem }, SelectionTypes.Primary | SelectionTypes.
Replace
);
2027
SelectionService.SetSelectedComponents(new IComponent[] { nextItem }, SelectionTypes.
Replace
);
2057
SelectionService.SetSelectedComponents(new IComponent[] { nextItem }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (2)
372
_selectionService.SetSelectedComponents(new IComponent[] { _host.RootComponent }, SelectionTypes.
Replace
);
518
selectionService.SetSelectedComponents(new IComponent[] { Component }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (5)
323
selSvc.SetSelectedComponents(null, SelectionTypes.
Replace
);
423
selSvc.SetSelectedComponents(new IComponent[] { parent }, SelectionTypes.
Replace
);
425
selSvc.SetSelectedComponents(totalObjects, SelectionTypes.
Replace
);
616
selSvc.SetSelectedComponents(new IComponent[] { ownerItem }, SelectionTypes.
Replace
);
756
selSvc.SetSelectedComponents(new IComponent[] { selectedItem }, SelectionTypes.Primary | SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (4)
401
selSvc?.SetSelectedComponents(new object[] { component }, SelectionTypes.
Replace
);
452
selSvc?.SetSelectedComponents(new object[] { component }, SelectionTypes.
Replace
);
491
selSvc?.SetSelectedComponents(new object[] { component }, SelectionTypes.
Replace
);
548
selSvc?.SetSelectedComponents(new object[] { component }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
878
selSvc?.SetSelectedComponents(new object[] { newItem }, SelectionTypes.
Replace
);
1135
_selectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (13)
543
SelectionService.SetSelectedComponents(new object[] { dropDownDesigner.Component }, SelectionTypes.
Replace
);
717
selSvc.SetSelectedComponents(totalObjects, SelectionTypes.
Replace
);
762
selSvc.SetSelectedComponents(totalObjects, SelectionTypes.
Replace
);
809
selSvc.SetSelectedComponents(parentToolStripPanel.Controls, SelectionTypes.
Replace
);
1082
selSvc.SetSelectedComponents(new object[] { Host.RootComponent }, SelectionTypes.
Replace
);
1760
selSvc.SetSelectedComponents(null, SelectionTypes.
Replace
);
1765
selSvc.SetSelectedComponents(new object[] { next }, SelectionTypes.
Replace
);
2030
selSvc.SetSelectedComponents(new object[] { targetSelection }, SelectionTypes.
Replace
);
2031
selSvc.SetSelectedComponents(null, SelectionTypes.
Replace
);
2053
SelectionService.SetSelectedComponents(totalObjects, SelectionTypes.
Replace
);
2079
selSvc.SetSelectedComponents(null, SelectionTypes.
Replace
);
2095
selSvc.SetSelectedComponents(new object[] { newSelection }, SelectionTypes.
Replace
);
2109
selSvc.SetSelectedComponents(new object[] { targetSelection }, SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (9)
622
_selectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
633
_selectionService.SetSelectedComponents(new object[] { MenuItem.DropDownItems[index] }, SelectionTypes.
Replace
);
1261
_selectionService.SetSelectedComponents(new object[] { MenuItem }, SelectionTypes.
Replace
);
1787
_selectionService?.SetSelectedComponents(new IComponent[] { newItem }, SelectionTypes.
Replace
);
1953
_selectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
1957
_selectionService.SetSelectedComponents(new IComponent[] { targetSelection }, SelectionTypes.
Replace
);
2466
_selectionService.SetSelectedComponents(new object[] { MenuItem }, SelectionTypes.
Replace
);
2470
_selectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
2787
_menuItemDesigner._selectionService.SetSelectedComponents(new IComponent[] { primaryItem }, SelectionTypes.Primary | SelectionTypes.
Replace
);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (5)
474
SelectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
492
SelectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
522
SelectionService.SetSelectedComponents(new object[] { _component }, SelectionTypes.
Replace
);
526
SelectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);
1174
SelectionService.SetSelectedComponents(null, SelectionTypes.
Replace
);