登录
首页 » C# » C#抓取当前Windows桌面截图实例源码

C#抓取当前Windows桌面截图实例源码

于 2013-01-17 发布
0 246
下载积分: 1 下载次数: 0

代码说明:

C#抓取当前Windows桌面截图

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

发表评论

0 个回复

  • OnlyOneInst
    VC++ 禁止运行程序的多个实例,程序根据主窗口类名和主窗口名判断是否已经有实例存在,如果存在就将其激活,并显示出来,如果是最小化的就还原窗口;如果有实例存在,则返回False并退出。 (VC++ prohibits running the program multiple instances of the program under the main window class name and the main window name to determine whether there are examples exist, if it will activate and show, if it is minimized to restore the window if examples exist, Returns False and exit.)
    2011-04-21 23:01:44下载
    积分:1
  • C# 实现进守护功能 通用于所有进,非法关闭和关机依然适用 附完整源码下载
    1. 下载本实例源码                      2. 安装注意事项 在配置档中配置你要守护的应用程序,应用程序之间用逗号隔开: 01 02 03   04     09   10 该项目是Windows服务,直接打开“CocoWatcher.exe”会报错,如图1所示:运行该守护程序需安装Windows服务,点击批处理文档“安装.bat”即可,“安装.bat”具体内容如下: 1 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe" 2 net start "CocoWatcher" 3 pause 如果你想卸载该守护程序,点击批处理文档“卸载.bat”,“卸载.bat”具体内容如下: 1 net stop "CocoWatcher" 2 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe"  -u 3 taskkill /f /im CocoWatcher.exe 4 pause 3. 需求分析 用户指定要守护的应用程序(数量不限),该应用程序不仅包括exe可执行文件,还包括诸如jpg、txt等所有能双击打开执行的应用程序。用户设定好要守护的应用程序后,关闭应用程序(包括合法和非法关闭),该应用程序要能立即重启打开。当电脑重启时,要守护的应用程序也能自动全部打开。 4. 详细设计 要实现上述需求,首先要提供一个配置档,让用户能随意配置要守护的应用程序。那么,该配置档要配置应用程序的什么信息呢?答案:应用程序的全路径。 好,我们已经知道了要守护的应用程序的全路径,接下来怎样完成守护任务呢?首先,我们应该打开任务管理器,查看一下正在运行的有哪些进程,然后逐一读取出这些进程的全路径,与要守护的应用程序的全路径比对,如果一致,说明要守护的应用程序已开启了,此时要分配一条线程监控该进程句柄,当该进程句柄返回信息,说明该进程已关闭,此时释放进程句柄内存,并重启该进程。如果遍历任务管理进程列表中所有进程,没有找到与要守护的应用程序的全路径一致的进程,说明要守护的应用程序尚未打开,此时要启动该应用程序,然后转入监控流程。 值得注意的是,一定要额外分配线程去监控要守护的应用程序,为什么?因为如果你用主线程(入口函数线程)去执行监控任务,会被长期阻塞,直到进程退出才会被激活,这样就无法运行后续程序。况且,监控程序要实现持续监控,要使用死循环,如果主线程进入死循环,就无法监控其他要守护的进程了。
    2013-07-19下载
    积分:1
  • wode-how-factory
    想学习在代码中运用工厂模式的,可以下载下来看看(To learn how to use factory mode in your code, download it)
    2018-10-10 22:08:42下载
    积分:1
  • zdusb
    中断方式的USB开发上位机程序【键盘,鼠标使用些方式】初学者可以学习看看(Interrupt the host computer' s USB development program [keyboard, mouse, beginners can use to learn some ways to see])
    2011-08-08 17:19:09下载
    积分:1
  • cpu
    基于CpuUsage的CPU空闲时工作构思,就是当CPU有空时,才能进行自己程序的大量数据处理命令,找了好久,找到这个,并加以10个时间的查询,如都是有空,才说有空.分享给有这方面需要的朋友,抛砖引玉.(CpuUsage the CPU idle time based on the idea work, free time is when the CPU can process large amounts of data for their own processing order, looking for a long time to find this, and make inquiries 10 hours, such as are available, only that there empty. to share a need, a friend, start a discussion.)
    2011-09-16 15:04:46下载
    积分:1
  • VolumeSerial_src
    change the drive s serial number on three different file systems: FAT, FAT32 and NTFS. The article s source code files come with a home made DiskSector read/write class for WinNt/2k/XP and Win9x system. The article also comes with a handy dialog based application that allows you change the serial number visually.
    2008-12-16 15:48:48下载
    积分:1
  • read_harddisk
    在VC++环境下点击按钮读取硬盘序列号并输出显示(In VC++ environment, click the button to read the hard drive serial number and the output display)
    2010-09-07 14:39:47下载
    积分:1
  • deny_cmd
    Deny running of specify process
    2010-11-12 01:53:36下载
    积分:1
  • HBase
    辅助开发库HBase,很好用的个人代码总结库,开发人员经常会有很多经典的开发代码,下次使用仍然很频繁,HBase就做了很好的总结,方便了开发使用(Supporting the development of library HBase, well summed up by the personal code library, developers will often develop a lot of classical code, the next use is still very frequent, HBase on to do a very good summary of the development to facilitate the use of)
    2009-03-30 16:15:11下载
    积分:1
  • mallocpool-0.9.4.tar
    malloc pool 内存池实现原理及源代码(malloc pool )
    2016-11-30 15:04:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载