Possible Duplicate:
How May I Capture the Screen in a Bitmap?
I need to make an application that captures a snapshot of the current screen whenever a particular button is hit.
I have searched a lot, but I have only found how to capture the current window.
Can you please help me figure out how to do this in .NET?
We can do this manually by hitting print-screen and saving the image using the paint. I need to do the same thing, but I want to do so with a program.