1 write to primarySelection
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\CommandSet.cs (1)
2911primarySelection = SelectionService.PrimarySelection as IComponent;
8 references to primarySelection
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\CommandSet.cs (7)
969Point primaryLocation = GetLocation(primarySelection!); 970Size primarySize = GetSize(primarySelection!); 996if (comp == primarySelection) 3078&& primarySelection is not null 3079&& host.GetDesigner(primarySelection) is ParentControlDesigner) 3083InheritanceAttribute? attr = (InheritanceAttribute?)TypeDescriptor.GetAttributes(primarySelection)[typeof(InheritanceAttribute)]; 3119cmd.Enabled = primarySelection is not null;
System\Windows\Forms\Design\ControlCommandSet.cs (1)
1232cmd.Enabled = controlsOnlySelection && selCount > 1 && primarySelection is not null;