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