Downloads:
Features:
- Take screenshots of your desktop
C# Source Code:
- Main.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
using System; using System.Drawing; using System.Windows.Forms; namespace Screenshot { public partial class Main : Form { public static Bitmap BM = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); public Main() { InitializeComponent(); } private void Main_Load(object sender, EventArgs e) { Graphics GH = Graphics.FromImage(BM as Image); GH.CopyFromScreen(0, 0, 0, 0, BM.Size); } private void btnClear_Click(object sender, EventArgs e) { pictureBox1.Image = null; } private void btnCapture_Click(object sender, EventArgs e) { Graphics GH = Graphics.FromImage(BM as Image); GH.CopyFromScreen(0, 0, 0, 0, BM.Size); pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; pictureBox1.Image = BM; } } } |
Screenshots:
Similar Apps:
Unknown
Contact: