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

C# 截屏代码

于 2022-01-21 发布 文件大小:1.15 kB
0 111
下载积分: 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 个回复

  • A
    实现A*算法地图寻优路径问题,游戏地图采用网格地图。(Achieve A* algorithm maps the path optimization problem, the game map using a grid map.)
    2013-10-22 15:52:11下载
    积分:1
  • spruhm8g
    关于TMS320F28379 芯片手册,包括ADC 、CLOCK、外设、SCI、SPI、CAN等(About TMS320F28379 chip manual, including ADC, CLOCK, peripherals, SCI, SPI, CAN and so on)
    2017-11-14 09:19:35下载
    积分:1
  • asp.net MVC3实例(含编辑器、登录、留言、faq后台管理等功能)
    含编辑器功能
    2015-01-14下载
    积分:1
  • prop
    一个基于MFC的属性表单,本例用来统计对象的收入,兴趣爱好,工作地点,工作经历(A MFC based property form, this example used to count the object of income, interest, work place, work experience)
    2015-07-17 20:51:27下载
    积分:1
  • branch-and-bound-algorithm
    利用c++实现城市遍历问题的分枝定界算法。(Use c++ achieve urban traversal problem branch and bound algorithm.)
    2013-07-28 09:52:30下载
    积分:1
  • 256色灰度直方图在mfc中的实现
    256色灰度直方图MFC中的实现,用vc6.0实现的函数,打开文件内的衣服灰度图,可以直接画出直方图。使用了picturecontrol控件。是在多媒体与技术这门课上的课程作业,感觉比较使用吧,挺好的,可以直接运行。帮助学习了一些mfc图像处理的内容。
    2022-11-03 14:30:03下载
    积分:1
  • STM32F103ZET6 的ADC信息采样
    STM32F103ZET6 的ADC信息采样,keil程序,ADC采样,说白了就是采集电压,这个功能是极其重要的,通常的我们的都是对各种传感器采集电压,来进行判断,开环闭环控制,今天,向大家介绍ADC的多通道采样,和DMA的采样方式。DMA的采样方式,可有效节省CMU在ADC的运行时间,提高效率,尤其是在系统构建的时候,必须要考虑好,你的效率问题。
    2022-01-26 04:08:25下载
    积分:1
  • Asp.net常用函数表
    说明:  asp.net有很多函数经常用到的,有了这本书什么都解决拉(many frequently used functions, this book has anything to solve Rafah)
    2006-01-07 10:21:33下载
    积分:1
  • lovesmerging
    游戏初始状态,假设有一段字母序列,其中任意三个相邻的字母不完全相同。游戏开始后,可以添加字母到所述序列的任意位置。一旦出现三个或更多相同的字母相邻,该连续子列就会消 除;如果一次消除发生后,新产生的序列再次满足消除条件,那么消除连锁发生,直到产生的序 列不再满足消除条件。一次输入后,连续消除的过程中,新字母不会产生;新的字母序列稳定 后,可以进行下一次操作。(The initial state of the game, assuming that there is a sequence of letters, where any three adjacent letters are not exactly the same. After the game starts, you can add letters to any position of the sequence. Once the three or more identical letters are adjacent, the consecutive sub-columns are eliminated; if the newly generated sequence satisfies the elimination condition again after a cancellation, the elimination of the chain occurs until the resulting sequence no longer satisfies the elimination condition The After a single input, the new letters are not generated during the continuous elimination process; after the new letter sequence is stable, the next operation can be performed.)
    2017-10-27 21:37:04下载
    积分:1
  • STM32_FOC_C语言源代码,IAR编译环境。
    基于STM32的FOC源代码,稀有资源,IAR编译器编译通过。是你学习的绝佳参考资料。支持单电阻采样、双电阻采样、三电阻采样、霍尔电流传感器采样。
    2023-07-26 18:20:04下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载