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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace copyScreen
{
    public delegate void copyToFatherTextBox(Rectangle r);

    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        /*开始截图*/
        private void button1_Click(object sender EventArgs e)
        {
            ScreenForm screen = new ScreenForm();
            screen.copytoFather += new copyToFatherTextBox(copytoTextBox);
            screen.ShowDialog();
        }
        /*截图后续操作*/
        public void copytoTextBox(Rectangle rec)
        {
            Rectangle rec2=rec; //改造一下

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

     文件      28672  2007-07-13 18:02  copyScreen\copyScreen\bin\Debug\copyScreen.exe

     文件         83  2007-07-13 18:04  copyScreen\copyScreen\bin\Debug\说明.txt

     目录          0  2007-07-13 18:05  copyScreen\copyScreen\bin\Debug

     目录          0  2007-07-13 11:31  copyScreen\copyScreen\bin

     文件       3793  2007-07-13 18:02  copyScreen\copyScreen\copyScreen.csproj

     文件        168  2007-07-13 13:57  copyScreen\copyScreen\copyScreen.csproj.user

     文件       2238  1998-01-17 00:10  copyScreen\copyScreen\DOLPHIN.ICO

     文件       1530  2007-07-13 17:47  copyScreen\copyScreen\Form1.cs

     文件       4298  2007-07-13 17:47  copyScreen\copyScreen\Form1.Designer.cs

     文件       6206  2007-07-13 17:47  copyScreen\copyScreen\Form1.resx

     文件       2238  2002-11-17 20:57  copyScreen\copyScreen\MyCursor.cur

     文件        367  2007-07-13 18:02  copyScreen\copyScreen\obj\copyScreen.csproj.FileList.txt

     文件        905  2007-07-13 18:02  copyScreen\copyScreen\obj\Debug\copyScreen.csproj.GenerateResource.Cache

     文件      28672  2007-07-13 18:02  copyScreen\copyScreen\obj\Debug\copyScreen.exe

     文件        180  2007-07-13 18:02  copyScreen\copyScreen\obj\Debug\copyScreen.Form1.resources

     文件       2238  2002-11-17 20:57  copyScreen\copyScreen\obj\Debug\copyScreen.MyCursor.cur

     文件      28160  2007-07-13 18:02  copyScreen\copyScreen\obj\Debug\copyScreen.pdb

     文件        180  2007-07-13 18:02  copyScreen\copyScreen\obj\Debug\copyScreen.Properties.Resources.resources

     文件        180  2007-07-13 18:02  copyScreen\copyScreen\obj\Debug\copyScreen.ScreenForm.resources

     目录          0  2007-07-13 16:44  copyScreen\copyScreen\obj\Debug\Refactor

     目录          0  2007-07-13 10:36  copyScreen\copyScreen\obj\Debug\TempPE

     目录          0  2007-07-13 18:02  copyScreen\copyScreen\obj\Debug

     目录          0  2007-07-13 18:02  copyScreen\copyScreen\obj

     文件        469  2007-07-13 10:36  copyScreen\copyScreen\Program.cs

     文件       1192  2007-07-13 10:36  copyScreen\copyScreen\Properties\AssemblyInfo.cs

     文件       2874  2007-07-13 10:36  copyScreen\copyScreen\Properties\Resources.Designer.cs

     文件       5612  2007-07-13 10:36  copyScreen\copyScreen\Properties\Resources.resx

     文件       1093  2007-07-13 10:36  copyScreen\copyScreen\Properties\Settings.Designer.cs

     文件        249  2007-07-13 10:36  copyScreen\copyScreen\Properties\Settings.settings

     目录          0  2007-07-13 10:36  copyScreen\copyScreen\Properties

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

评论

共有 条评论