28 references to SelectionService
System.Windows.Forms.Design (28)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (28)
500if (SelectionService.PrimarySelection is not Component 534SelectionService.SetSelectedComponents(new object[] { dropDownDesigner.Component }, SelectionTypes.Replace); 596ISelectionService selSvc = SelectionService; 670ISelectionService selSvc = SelectionService; 715ISelectionService selSvc = SelectionService; 760ISelectionService selSvc = SelectionService; 802ISelectionService selSvc = SelectionService; 838ISelectionService selSvc = SelectionService; 913ISelectionService selSvc = SelectionService; 974ISelectionService selSvc = SelectionService; 1045ISelectionService selSvc = SelectionService; 1092if (SelectionService.PrimarySelection is not Component primarySelection) 1120if (SelectionService.PrimarySelection is not Component primarySelection) 1152if (SelectionService is not { } selectionService) 1187if (SelectionService is not { } selectionService 1302if (SelectionService is not { } selectionService 1413if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 1415SelectionService.SetSelectedComponents(new object[] { ShiftPrimaryItem, targetSelection }, SelectionTypes.Remove); 1456if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 1458SelectionService.SetSelectedComponents(new object[] { ShiftPrimaryItem, targetSelection }, SelectionTypes.Remove); 1671ISelectionService selSvc = SelectionService; 1762ISelectionService selSvc = SelectionService; 1918if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 1920SelectionService.SetSelectedComponents(new object[] { ShiftPrimaryItem, targetSelection }, SelectionTypes.Remove); 1946if (_shiftPressed && SelectionService.GetComponentSelected(targetSelection)) 1948SelectionService.SetSelectedComponents(new object[] { ShiftPrimaryItem, targetSelection }, SelectionTypes.Remove); 2036SelectionService.SetSelectedComponents(totalObjects, SelectionTypes.Replace); 2042ISelectionService selSvc = SelectionService;