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