• 大小: 0.09M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: 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;
using System.IO;
using System.Drawing.Imaging;
using System.Threading;
namespace ImgMicroimage
{
    public partial class Frm_Main : Form
    {
        public class CustomListView : ListView
        {
            public CustomListView()
            {
                Setstyle(Controlstyles.OptimizedDoubleBuffer | Controlstyles.AllPaintingInWmPaint true);
                Updatestyles();
            }
        }
        CustomListView clv = new CustomListView();
        
        public Frm_Main()
        {
            InitializeComponent();
        }
        string filePath;
       

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-12-22 23:11  ImgMicroimage\
     文件         929  2013-05-22 23:02  ImgMicroimage.sln
     文件       22528  2010-11-04 01:57  ImgMicroimage.suo
     目录           0  2011-12-22 23:11  ImgMicroimage\bin\
     目录           0  2013-05-22 23:02  ImgMicroimage\bin\Debug\
     文件       23040  2013-05-22 23:02  ImgMicroimage\bin\Debug\ImgMicroimage.exe
     文件       30208  2013-05-22 23:02  ImgMicroimage\bin\Debug\ImgMicroimage.pdb
     文件       32768  2013-05-22 23:02  ImgMicroimage\bin\Debug\Interop.scripting.dll
     文件        8698  2010-07-13 03:58  ImgMicroimage\Frm_Main.cs
     文件        7307  2010-07-08 22:17  ImgMicroimage\Frm_Main.Designer.cs
     文件        6622  2010-07-08 22:17  ImgMicroimage\Frm_Main.resx
     文件        4677  2013-05-22 23:02  ImgMicroimage\ImgMicroimage.csproj
     目录           0  2011-12-22 23:11  ImgMicroimage\obj\
     目录           0  2013-05-22 23:02  ImgMicroimage\obj\Debug\
     文件        8122  2013-05-22 23:02  ImgMicroimage\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件        8947  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.csproj.FileListAbsolute.txt
     文件         981  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.csproj.GenerateResource.Cache
     文件         700  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.csproj.ResolveComReference.cache
     文件        1757  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.csprojResolveAssemblyReference.cache
     文件       23040  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.exe
     文件         180  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.Frm_Main.resources
     文件       30208  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.pdb
     文件        8092  2013-05-22 23:02  ImgMicroimage\obj\Debug\ImgMicroimage.Properties.Resources.resources
     文件       32768  2013-05-22 23:02  ImgMicroimage\obj\Debug\Interop.scripting.dll
     目录           0  2011-12-22 23:11  ImgMicroimage\obj\Debug\Refactor\
     目录           0  2013-05-22 23:02  ImgMicroimage\obj\Debug\TempPE\
     文件        5120  2013-05-22 23:02  ImgMicroimage\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         497  2010-07-08 22:16  ImgMicroimage\Program.cs
     目录           0  2011-12-22 23:11  ImgMicroimage\Properties\
     文件        1386  2008-12-24 22:21  ImgMicroimage\Properties\AssemblyInfo.cs
     文件        3996  2013-05-22 23:02  ImgMicroimage\Properties\Resources.Designer.cs
............此处省略8个文件信息

评论

共有 条评论