3 references to CopyFromScreen
System.Drawing.Common.Tests (3)
System\Drawing\GraphicsTests.cs (3)
1544graphics.CopyFromScreen(new Point(sourceX, sourceY), new Point(destinationX, destinationY), size); 1662Assert.Throws<InvalidOperationException>(() => graphics.CopyFromScreen(Point.Empty, Point.Empty, Size.Empty)); 1680AssertExtensions.Throws<ArgumentException>(null, () => graphics.CopyFromScreen(Point.Empty, Point.Empty, Size.Empty));