4 references to CopyFromScreen
System.Drawing.Common.Tests (4)
System\Drawing\GraphicsTests.cs (4)
1543graphics.CopyFromScreen(sourceX, sourceY, destinationX, destinationY, size);
1560graphics.CopyFromScreen(sourceX, sourceY, destinationX, destinationY, new Size(width, height));
1660Assert.Throws<InvalidOperationException>(() => graphics.CopyFromScreen(0, 0, 0, 0, Size.Empty));
1678AssertExtensions.Throws<ArgumentException>(null, () => graphics.CopyFromScreen(0, 0, 0, 0, Size.Empty));