10 references to s_boxImageSize
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (4)
316Rectangle newRectangle = new(mouseLoc.X - DesignerUtils.s_boxImageSize / 2, mouseLoc.Y - DesignerUtils.s_boxImageSize / 2, 317DesignerUtils.s_boxImageSize, DesignerUtils.s_boxImageSize);
System\Windows\Forms\Design\DesignerUtils.cs (6)
120s_boxImage = new Bitmap(s_boxImageSize, s_boxImageSize, PixelFormat.Format32bppPArgb); 122g.FillRectangle(new SolidBrush(SystemColors.InactiveBorder), 0, 0, s_boxImageSize, s_boxImageSize); 123g.DrawRectangle(new Pen(SystemColors.ControlDarkDark), 0, 0, s_boxImageSize - 1, s_boxImageSize - 1);