10 references to s_boxImageSize
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (4)
310
mouseLoc.X - DesignerUtils.
s_boxImageSize
/ 2,
311
mouseLoc.Y - DesignerUtils.
s_boxImageSize
/ 2,
312
DesignerUtils.
s_boxImageSize
,
313
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);