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