• 大小: 0.27M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 截图  

资源简介


资源截图

代码片段和文件信息

/*
 * 作者:赵忠印
 * 时间:2010-9-2 11:23:09
 * 描述:截图组件
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
using System.Drawing.Imaging;

namespace ScreenShotComponent
{
    public class ScreenShot
    {
        private ScreenShotForm _rectForm;//区域截图框
        private WindowCaptureForm _windowCaptureForm;//捕获窗体图框

        public ScreenShot()
        {
            _windowCaptureForm = new WindowCaptureForm();
            _windowCaptureForm.AfterCaptureScreen += new EventHandler(WindowCapture_AfterCapture);
        }

        #region 公共方法、事件

        /// 
        /// 让用户选择区域截图,如果用户按下Esc键或用鼠标右键点击截图区域,则取消截图,返回null
        /// 

        

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件          0  2017-11-08 11:18  C# 截屏程序(全屏、区域、窗体)\C# 截屏程序(全屏、区域、窗体).txt

     文件       1010  2010-09-03 17:31  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\.svn\all-wcprops

     文件        894  2010-09-03 17:31  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\.svn\entries

     文件         53  2010-09-02 13:24  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\.svn\prop-base\ScreenChooseShot.suo.svn-base

     文件         53  2010-09-02 13:24  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\.svn\prop-base\ScreenShotComponent.suo.svn-base

     文件      27648  2010-09-02 13:24  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\.svn\text-base\ScreenChooseShot.suo.svn-base

     文件       1413  2010-09-02 15:17  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\.svn\text-base\ScreenShotComponent.sln.svn-base

     文件      33280  2010-09-03 17:11  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\.svn\text-base\ScreenShotComponent.suo.svn-base

    ..A..H.     27648  2010-09-02 13:20  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenChooseShot.suo

     文件       3032  2010-09-03 17:57  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\all-wcprops

     文件         76  2010-09-02 15:42  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\dir-prop-base

     文件       2077  2010-09-03 17:57  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\entries

     文件         53  2010-09-03 17:34  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\prop-base\windowfi.cur.svn-base

     文件       2595  2010-09-03 17:11  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\ScreenShot.cs.svn-base

     文件       4742  2010-09-03 17:43  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\ScreenShotComponent.csproj.svn-base

     文件      13001  2010-09-02 15:58  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\ScreenShotForm.cs.svn-base

     文件      14271  2010-09-02 13:24  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\ScreenShotForm.Designer.cs.svn-base

     文件       5814  2010-09-02 13:24  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\ScreenShotForm.resx.svn-base

     文件       5489  2010-09-03 17:57  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\WindowCaptureForm.cs.svn-base

     文件       5804  2010-09-03 16:32  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\WindowCaptureForm.Designer.cs.svn-base

     文件       5814  2010-09-03 16:32  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\WindowCaptureForm.resx.svn-base

     文件        326  2010-09-03 17:35  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\windowfi.cur.svn-base

     文件       8150  2010-09-03 16:56  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\.svn\text-base\WindowsAPI.cs.svn-base

     文件        242  2010-09-03 17:31  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\bin\.svn\all-wcprops

     文件        375  2010-09-03 17:31  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\bin\.svn\entries

     文件       1714  2010-09-03 17:57  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\bin\Debug\.svn\all-wcprops

     文件       1244  2010-09-03 17:57  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\bin\Debug\.svn\entries

     文件         53  2010-09-02 13:24  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\bin\Debug\.svn\prop-base\ScreenChooseShot.vshost.exe.svn-base

     文件         53  2010-09-02 15:44  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\bin\Debug\.svn\prop-base\ScreenShotComponent.dll.svn-base

     文件         53  2010-09-02 15:44  C# 截屏程序(全屏、区域、窗体)\ScreenShotComponent\ScreenShotComponent\bin\Debug\.svn\prop-base\ScreenShotComponent.pdb.svn-base

............此处省略246个文件信息

评论

共有 条评论