文件名称:c#屏幕捕捉程序
文件大小:969KB
文件格式:RAR
更新时间:2015-11-04 13:18:16
c# 屏幕捕捉程序
this.Hide(); //隐藏主窗体 System.Threading.Thread.Sleep(100); //主线程休眠1秒,以使用主窗体完全从桌面消失 Image img = new Bitmap(Screen.AllScreens[0].Bounds.Width, Screen.AllScreens[0].Bounds.Height); //Screen.AllScreens[0]是获取当前所有设备窗口的第一个 Graphics g = Graphics.FromImage(img); g.CopyFromScreen(new Point(0, 0), new Point(0, 0), Screen.AllScreens[0].Bounds.Size); ScreenBody body = new ScreenBody(); body.BackgroundImage = img; body.ShowDialog(); this.pictureBox1.Image = body.getpic; body.Close(); this.Show(); //还原主窗体
【文件预览】:
screen_lock2012-10-11
----Nathan之屏幕锁定.suo(27KB)
----Nathan之屏幕锁定.sln(953B)
----Nathan之屏幕锁定()
--------bin()
--------settings.cs(4KB)
--------frm_main.resx(369KB)
--------Nathan之屏幕锁定.csproj(5KB)
--------Program.cs(516B)
--------frm_set.resx(6KB)
--------Project1.ico(242KB)
--------obj()
--------settings.resx(6KB)
--------frm_set.cs(4KB)
--------frm_set.Designer.cs(8KB)
--------app.config(79B)
--------frm_main.Designer.cs(7KB)
--------frm_main.cs(7KB)
--------DatabaseSetup.cs(696B)
--------Properties()
--------netdetect.cs(3KB)