1 write to primarySelection
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\CommandSet.cs (1)
2913primarySelection = 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) 3080&& primarySelection is not null 3081&& host.GetDesigner(primarySelection) is ParentControlDesigner) 3085InheritanceAttribute? attr = (InheritanceAttribute?)TypeDescriptor.GetAttributes(primarySelection)[typeof(InheritanceAttribute)]; 3121cmd.Enabled = primarySelection is not null;
System\Windows\Forms\Design\ControlCommandSet.cs (1)
1232cmd.Enabled = controlsOnlySelection && selCount > 1 && primarySelection is not null;