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