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