8 references to new
System.Drawing.Common.Tests (6)
System\Drawing\TextureBrushTests.cs (6)
64
using TextureBrush brush =
new
(image, wrapMode);
242
AssertExtensions.Throws<ArgumentNullException>("image", () => new
TextureBrush
(null, WrapMode.Tile));
258
AssertExtensions.Throws<ArgumentException>(null, () => new
TextureBrush
(image, WrapMode.Tile));
273
Assert.ThrowsAny<ArgumentException>(() => new
TextureBrush
(image, wrapMode));
303
using TextureBrush brush =
new
(image, WrapMode.Clamp);
811
using TextureBrush brush =
new
(brushBitmap, wrapMode);
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1556
using TextureBrush textureBrush =
new
(BackgroundImage, WrapMode.Tile);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
428
using TextureBrush textureBrush =
new
(backgroundImage, WrapMode.Tile);