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

资源简介

C# 最小化截图示例源码下载

资源截图

代码片段和文件信息

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

namespace MinimizeCapture
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void buttonSnap_Click(object sender EventArgs e)
        {
            this.listBoxSnap.Items.Clear();
            this.pictureBoxSnap.Image = null;
            this.listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(truetrue).ToArray());
        }

        private void listBoxSnap_SelectedIndexChanged(object sender EventArgs e)
        {
            WindowSnap snap = this.listBoxSnap.SelectedItem as WindowSnap;

            this.p

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       22016  2007-10-10 22:35  MinimizeCapture.suo
     目录           0  2007-10-10 22:36  MinimizeCapture\
     文件        1588  2007-10-10 22:30  MinimizeCapture\Form1.cs
     文件        6398  2007-10-10 22:26  MinimizeCapture\Form1.Designer.cs
     文件        5814  2007-10-10 22:26  MinimizeCapture\Form1.resx
     文件        3419  2007-10-05 14:51  MinimizeCapture\MinimizeCapture.csproj
     文件         485  2007-10-05 14:39  MinimizeCapture\Program.cs
     目录           0  2007-10-10 15:21  MinimizeCapture\Properties\
     文件        1284  2007-09-26 11:09  MinimizeCapture\Properties\AssemblyInfo.cs
     文件        2858  2007-09-26 11:09  MinimizeCapture\Properties\Resources.Designer.cs
     文件        5612  2007-09-26 11:09  MinimizeCapture\Properties\Resources.resx
     文件        1099  2007-09-26 11:09  MinimizeCapture\Properties\Settings.Designer.cs
     文件         249  2007-09-26 11:09  MinimizeCapture\Properties\Settings.settings
     文件       17111  2007-10-10 22:32  MinimizeCapture\WindowSnap.cs
     文件        4831  2007-09-26 11:59  MinimizeCapture\WindowSnapCollection.cs
     文件        3588  2007-10-05 15:15  MinimizeCapture\XPAppearance.cs
     文件       76818  2007-09-28 00:28  MinimizeCapture\XPAppearance.SPI.cs
     文件         934  2007-09-26 11:09  MinimizeCapture.sln

评论

共有 条评论