7 references to BoxImage
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
336
graphics.DrawImage(DesignerUtils.
BoxImage
, newRectangle.Location);
System.Windows.Forms.Design.Tests (6)
System\Windows\Forms\Design\DesignerUtilsTests.cs (6)
37
DesignerUtils.
BoxImage
.Should().BeOfType<Bitmap>();
42
DesignerUtils.
BoxImage
.Width.Should().Be(DesignerUtils.s_boxImageSize);
43
DesignerUtils.
BoxImage
.Height.Should().Be(DesignerUtils.s_boxImageSize);
48
((Bitmap)DesignerUtils.
BoxImage
).PixelFormat.Should().Be(PixelFormat.Format32bppPArgb);
53
Image firstCall = DesignerUtils.
BoxImage
;
54
Image secondCall = DesignerUtils.
BoxImage
;