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