• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-27
  • 语言: C#
  • 标签: 剪贴板  图片  

资源简介


资源截图

代码片段和文件信息

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

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

        private void btnLoadImage_Click(object sender EventArgs e)
        {
            OpenFileDialog dialog = new OpenFileDialog();
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                pictureBox1.Load(dialog.FileName);
            }
        }

        private Image img
        {
            get
            {
                return pictureBox1.Image;
            }
            set
            {
                pictureBox1.Image = value;
            }
        }

        private string info
        {
            get
            {
                return txtImageInfo.Text;
           

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

     文件      10752  2009-02-05 11:08  UseClipboard\UseClipboard\bin\Debug\UseClipboard.exe

     文件      28160  2009-02-05 11:08  UseClipboard\UseClipboard\bin\Debug\UseClipboard.pdb

     文件      14328  2009-02-05 11:09  UseClipboard\UseClipboard\bin\Debug\UseClipboard.vshost.exe

     文件        490  2007-07-21 01:33  UseClipboard\UseClipboard\bin\Debug\UseClipboard.vshost.exe.manifest

     文件          1  2009-02-05 10:25  UseClipboard\UseClipboard\ClassDiagram1.cd

     文件       2256  2009-02-05 11:06  UseClipboard\UseClipboard\Form1.cs

     文件       6012  2009-02-05 11:04  UseClipboard\UseClipboard\Form1.Designer.cs

     文件       5814  2009-02-05 11:04  UseClipboard\UseClipboard\Form1.resx

     文件        258  2009-02-05 10:29  UseClipboard\UseClipboard\MyPic.cs

     文件        687  2009-02-05 11:09  UseClipboard\UseClipboard\obj\Debug\UseClipboard.csproj.FileListAbsolute.txt

     文件        847  2009-02-05 11:04  UseClipboard\UseClipboard\obj\Debug\UseClipboard.csproj.GenerateResource.Cache

     文件      10752  2009-02-05 11:08  UseClipboard\UseClipboard\obj\Debug\UseClipboard.exe

     文件        180  2009-02-05 11:04  UseClipboard\UseClipboard\obj\Debug\UseClipboard.Form1.resources

     文件      28160  2009-02-05 11:08  UseClipboard\UseClipboard\obj\Debug\UseClipboard.pdb

     文件        180  2009-02-05 10:36  UseClipboard\UseClipboard\obj\Debug\UseClipboard.Properties.Resources.resources

     文件        493  2009-02-04 16:35  UseClipboard\UseClipboard\Program.cs

     文件       1378  2009-02-04 16:35  UseClipboard\UseClipboard\Properties\AssemblyInfo.cs

     文件       2874  2009-02-04 16:35  UseClipboard\UseClipboard\Properties\Resources.Designer.cs

     文件       5612  2009-02-04 16:35  UseClipboard\UseClipboard\Properties\Resources.resx

     文件       1097  2009-02-04 16:35  UseClipboard\UseClipboard\Properties\Settings.Designer.cs

     文件        249  2009-02-04 16:35  UseClipboard\UseClipboard\Properties\Settings.settings

     文件       3847  2009-02-05 10:36  UseClipboard\UseClipboard\UseClipboard.csproj

     文件        926  2009-02-04 16:35  UseClipboard\UseClipboard.sln

    ..A..H.     13824  2009-02-04 18:46  UseClipboard\UseClipboard.suo

     目录          0  2009-02-04 16:35  UseClipboard\UseClipboard\obj\Debug\TempPE

     目录          0  2009-02-04 16:47  UseClipboard\UseClipboard\bin\Debug

     目录          0  2009-02-05 11:08  UseClipboard\UseClipboard\obj\Debug

     目录          0  2009-02-04 16:35  UseClipboard\UseClipboard\bin

     目录          0  2009-02-04 16:35  UseClipboard\UseClipboard\obj

     目录          0  2009-02-04 16:35  UseClipboard\UseClipboard\Properties

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

评论

共有 条评论