• 大小: 0.10M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: 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;

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

        private void Form1_Load(object sender EventArgs e)
        {
            listView1.GridLines = true;//在各数据之间形成网格线
            listView1.View = View.Details;//显示列名称
            listView1.FullRowSelect = true;//在单击某项时,对其进行选中
            listView1.Headerstyle = ColumnHeaderstyle.Nonclickable;//隐藏列标题
            listView1.Columns.Add(“文件路径“ listView1.Width - 5 HorizontalAlignment.Right);
        }

        private void listView1_DragEnter(object sender DragEventArgs e)
        {
            e.Effect = DragDropEffects.Copy; //设置拖放操作中目标放置类型为复制
            String[] str_Drop = (String[])e.Data.GetData

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         929  2009-02-12 16:48  sj\01\FileBatchCopy\FileBatchCopy.sln
     文件       14336  2009-02-13 08:59  sj\01\FileBatchCopy\FileBatchCopy.suo
     文件        3737  2009-02-12 16:55  sj\01\FileBatchCopy\FileBatchCopy\FileBatchCopy.csproj
     文件        6128  2009-02-13 08:57  sj\01\FileBatchCopy\FileBatchCopy\Form1.cs
     文件        5878  2009-02-12 17:03  sj\01\FileBatchCopy\FileBatchCopy\Form1.Designer.cs
     文件        6022  2009-02-12 17:03  sj\01\FileBatchCopy\FileBatchCopy\Form1.resx
     文件         494  2009-02-12 16:48  sj\01\FileBatchCopy\FileBatchCopy\Program.cs
     文件       11776  2009-02-13 08:57  sj\01\FileBatchCopy\FileBatchCopy\bin\Debug\FileBatchCopy.exe
     文件       28160  2009-02-13 08:57  sj\01\FileBatchCopy\FileBatchCopy\bin\Debug\FileBatchCopy.pdb
     文件       14328  2009-02-13 08:58  sj\01\FileBatchCopy\FileBatchCopy\bin\Debug\FileBatchCopy.vshost.exe
     文件         490  2007-07-21 01:33  sj\01\FileBatchCopy\FileBatchCopy\bin\Debug\FileBatchCopy.vshost.exe.manifest
     文件        1054  2009-02-13 08:58  sj\01\FileBatchCopy\FileBatchCopy\obj\Debug\FileBatchCopy.csproj.FileListAbsolute.txt
     文件         847  2009-02-12 17:04  sj\01\FileBatchCopy\FileBatchCopy\obj\Debug\FileBatchCopy.csproj.GenerateResource.Cache
     文件       11776  2009-02-13 08:57  sj\01\FileBatchCopy\FileBatchCopy\obj\Debug\FileBatchCopy.exe
     文件         180  2009-02-12 17:04  sj\01\FileBatchCopy\FileBatchCopy\obj\Debug\FileBatchCopy.Form1.resources
     文件       28160  2009-02-13 08:57  sj\01\FileBatchCopy\FileBatchCopy\obj\Debug\FileBatchCopy.pdb
     文件         180  2009-02-12 17:04  sj\01\FileBatchCopy\FileBatchCopy\obj\Debug\FileBatchCopy.Properties.Resources.resources
     文件        1358  2009-02-12 16:48  sj\01\FileBatchCopy\FileBatchCopy\Properties\AssemblyInfo.cs
     文件        2876  2009-02-12 16:48  sj\01\FileBatchCopy\FileBatchCopy\Properties\Resources.Designer.cs
     文件        5612  2009-02-12 16:48  sj\01\FileBatchCopy\FileBatchCopy\Properties\Resources.resx
     文件        1098  2009-02-12 16:48  sj\01\FileBatchCopy\FileBatchCopy\Properties\Settings.Designer.cs
     文件         249  2009-02-12 16:48  sj\01\FileBatchCopy\FileBatchCopy\Properties\Settings.settings
     文件         989  2008-12-05 09:30  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条.sln
     文件       17920  2009-02-23 08:48  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条.suo
     文件        1270  2008-12-05 10:58  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条\Form1.cs
     文件        4449  2008-12-05 10:58  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条\Form1.Designer.cs
     文件        6022  2008-12-05 10:58  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条\Form1.resx
     文件        7313  2009-02-23 08:47  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条\Frm_Plan.cs
     文件        3284  2008-12-05 13:51  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条\Frm_Plan.Designer.cs
     文件        5814  2008-12-05 13:51  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条\Frm_Plan.resx
     文件         514  2008-12-05 09:30  sl\弹出模式窗口显示进度条\弹出模式窗口显示进度条\Program.cs
............此处省略17个文件信息

评论

共有 条评论