2 writes to selCount
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.cs (2)
2897
selCount
= SelectionService.SelectionCount;
2909
selCount
= 0;
7 references to selCount
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\CommandSet.cs (3)
2904
if (
selCount
> 0 && designerHost is not null)
2917
if (
selCount
> 0)
2980
cmd.Enabled =
selCount
> 0;
System\Windows\Forms\Design\ControlCommandSet.cs (4)
1157
cmd.Enabled = (
selCount
> 0) && controlsOnlySelection;
1169
cmd.Enabled = (
selCount
> 0) && controlsOnlySelection && (!BehaviorService.UseSnapLines);
1221
cmd.Enabled = controlsOnlySelection &&
selCount
> 1;
1232
cmd.Enabled = controlsOnlySelection &&
selCount
> 1 && primarySelection is not null;