6 references to DrawToBitmap
System.Windows.Forms.Tests (6)
WebBrowserBaseTests.cs (6)
673
control.
DrawToBitmap
(bitmap, targetBounds);
695
control.
DrawToBitmap
(bitmap, rectangle);
706
Assert.Throws<ArgumentNullException>("bitmap", () => control.
DrawToBitmap
(null, new Rectangle(1, 2, 3, 4)));
724
Assert.Throws<ArgumentException>(() => control.
DrawToBitmap
(bitmap, new Rectangle(x, y, width, height)));
738
Assert.Throws<ArgumentException>(() => control.
DrawToBitmap
(bitmap, new Rectangle(1, 2, 3, 4)));
752
Assert.Throws<ArgumentException>(() => control.
DrawToBitmap
(bitmap, new Rectangle(1, 2, 3, 4)));