using System.Runtime.InteropServices; [DllImport("user32.dll")] static extern bool PrintWindow(IntPtr hwnd, IntPtr hDC, uint nFlags); private void button1_Click(object sender, EventArgs e) { Graphics g = this.CreateGraphics(); Bitmap bmp = new Bitmap(this.Width, this.Height, g); Graphics imgGraphics = Graphics.FromImage(bmp); IntPtr dc = imgGraphics.GetHdc(); bool success = Pr..