【文件属性】:
文件名称:c#屏幕抓图
文件大小:2KB
文件格式:TXT
更新时间:2015-05-10 11:43:55
c# 屏幕抓图
c#屏幕抓图, 纯代码 个人总结
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Drawing.Imaging;
namespace SaveScreenImage
{
public partial class Form1 : Form
{
[DllImportAttribute("gdi32.dll")]
private static extern bool BitBlt(
IntPtr hdcDest, // 目标DC的句柄
网友评论
- 这段代码被引用的很普遍,简单实用,不错