Send Snap shot

Jul 16, 2012 at 12:10 PM

i was looking if we could add a capability of sending snap shots.. like all the other lan messengers already have.. a simple code like this can do our work but i am not able to complete the project.

using SD=System.Drawing;

SD.Rectangle bounds = SWF.Screen.GetBounds(SD.Point.Empty);
            using (SD.Bitmap bitmap = new SD.Bitmap(bounds.Width, bounds.Height))            {                using (SD.Graphics g = SD.Graphics.FromImage(bitmap))                {


                    g.CopyFromScreen(SD.Point.Empty, SD.Point.Empty, bounds.Size);
                    g.Dispose();                }


                bitmap.Save(@"D:\\send.jpg");

SendFile(@"D:\\send.jpg");

Coordinator
Jul 17, 2012 at 2:22 AM

Thank you for your suggestion. I will consider adding this.

Jul 18, 2012 at 8:27 AM

The way to approach is.. on a button click.. minimize squiggle.. take a screen shot of the window.. open a picture box place the screen shot then by using 
bitmap crop methods. crop the image .. save it and then send it..