EDIT: I try clientRectangle but I get the image from the left superior corner of the desktop and not of the form! I try to get a screenshot of my form where there is a flash animation. So I try this:
Rectangle bounds = this.Bounds;
Bitmap bitmap = new Bitmap(this.Width, this.Height);
Graphics g = Graphics.FromImage(bitmap);
g.CopyFromScreen(new Point(bounds.Left, bounds.Top), Point.Empty, bounds.Size);
bitmap.Save("C:/Users/Public/Documents/YouCam/flash.jpeg", ImageFormat.Jpeg);
MessageBox.Show("Save");
It work, but I get also the border of the form with this. How can I get the inner of the form without the control bar and the borders? In red the zone that I want to capture:
Thanks ;)
PS: sorry form my poor english!