Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Bitmap bitmap = CommonFunctions.CaptureWindow(this);

            bitmap.Save(@"D:\1.png", ImageFormat.Png);
        }