2 writes to controlsOnlySelection
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.cs (2)
2915
controlsOnlySelection
= true;
2924
controlsOnlySelection
= false;
7 references to controlsOnlySelection
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ControlCommandSet.cs (7)
1157
cmd.Enabled = (selCount > 0) &&
controlsOnlySelection
;
1169
cmd.Enabled = (selCount > 0) &&
controlsOnlySelection
&& (!BehaviorService.UseSnapLines);
1182
cmd.Enabled =
controlsOnlySelection
;
1221
cmd.Enabled =
controlsOnlySelection
&& selCount > 1;
1232
cmd.Enabled =
controlsOnlySelection
&& selCount > 1 && primarySelection is not null;
1277
cmd.Enabled =
controlsOnlySelection
;
1301
bool enable = (comps is not null && comps.Count > 2 &&
controlsOnlySelection
);