登录
首页 » c# » C# 截屏代码

C# 截屏代码

于 2022-01-21 发布 文件大小:1.15 kB
0 172
下载积分: 2 下载次数: 1

代码说明:

using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Windows.Forms; namespace Screencap {     public class Capture     {         public enum CaptureTarget         {             Window,             Screen         }         public static Bitmap CaptureImage(CaptureTarget target, IntPtr windowHandle)         {             if (target == CaptureTarget.Window && windowHandle != IntPtr.Zero)             {                 Rectangle rect = GetWindowRect(windowHandle);          

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • POJ1635.tar
    POJ 1635,树的同构,哈希方法实现(POJ 1635, tree isomorphism, hash method)
    2012-11-07 19:30:26下载
    积分:1
  • CSharp汉字转换拼音。我把源代码写在
    CSharp汉字转换拼音.我自己把网上的源码写成类库,以及类库的源代码与应用程序。-CSharp Chinese Pinyin conversion. I put the source code written in-line library, as well as the library" s source code and applications.
    2022-05-19 15:25:30下载
    积分:1
  • 为你的文件的背景添加上你喜欢的图案,结合这个程序学习C++编程...
    为你的文件的背景添加上你喜欢的图案,结合这个程序学习C++编程-to your paper on the background to add your favorite logo, together with procedures for learning C Programming
    2023-01-20 21:50:03下载
    积分:1
  • detaii
    体现了lod(level of detail)算法 包括网格细分,空间层次(Lod (level of detail) algorithm includes grid subdivision, spatial level.)
    2018-11-19 00:34:23下载
    积分:1
  • 011 简易交通灯的设计
    基于51单片机的简易交通灯的设计,能够实现简易交通灯功能。(Design of Simple Traffic Light Based on 51 Single Chip Microcomputer)
    2019-05-10 15:55:33下载
    积分:1
  • C# 人事工资管理系统源码(含数据库)
    C# 人事工资管理系统源码(含数据库)
    2018-04-06下载
    积分:1
  • Project_ShortestPath
    任务:实现Dijkstra算法 工程名:Project_ShortestPath 要求:实现Dijkstra算法,算法主体写在CGraph类中;要求是从command窗口中输入源节点编号,并在command窗口中输出从源节点到所有目的节点的最短路长及最短路。注:要输出整条路径,而不仅仅是前一跳,也不允许逆序输出。 (Task: Dijkstra' s algorithm to achieve the project name: Project_ShortestPath requirements: achieve Dijkstra algorithm, the algorithm written in the body CGraph class requires input from the command window, the source node number, and in the command window, all of the output from the source node to the destination node shortest long and the shortest. Note: To export the entire path, not just before the jump, do not allow reverse output.)
    2013-08-21 16:40:41下载
    积分:1
  • Cocos2d-x中国象棋游戏源码
    Cocos2d-x中国象棋游戏源码,解压后将项目拷到Cocos2d/projects下,MAC下可以直接编译运行,其他平台可以自行添加资源和源码引用编译运行,该源码为demo,功能比较简单,仅实现象棋布局和走法,人机对战AI需要自己完善。
    2022-05-06 20:09:57下载
    积分:1
  • enumser
    EnumSerialPorts v1.20
    2009-08-17 17:51:57下载
    积分:1
  • CSharp_WCF
    C# WCF的精简版本, 写得非常好,例子也很容易懂(C# WCF streamlined version, written in very good example is also very easy to understand)
    2010-01-09 09:10:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载