• 大小: 53KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-04
  • 语言: 其他
  • 标签: C#  TreeView  DragDrop  

资源简介

TreeView 带图片及内容的节点拖拽例子 代码来源于http://www.codeproject.com/Articles/9391/Dragging-tree-nodes-in-C 修改了一些BUG及不足之处。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace TreeViewSample
{
    static class Program
    {
        /// 
        /// 应用程序的主入口点。
        /// 

        [STAThread]
        static void Main()
        {
            Application.EnableVisualstyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain());
        }
    }
}

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

     文件      16384  2014-08-14 15:05  TreeViewSample\TreeViewSample\bin\Debug\TreeViewSample.exe

     文件      32256  2014-08-14 15:05  TreeViewSample\TreeViewSample\bin\Debug\TreeViewSample.pdb

     文件      11600  2014-08-14 15:07  TreeViewSample\TreeViewSample\bin\Debug\TreeViewSample.vshost.exe

     文件        490  2010-03-17 22:39  TreeViewSample\TreeViewSample\bin\Debug\TreeViewSample.vshost.exe.manifest

     文件       2230  2014-08-14 14:36  TreeViewSample\TreeViewSample\Class\clsDragHelper.cs

     文件      10670  2014-08-14 15:05  TreeViewSample\TreeViewSample\Form\frmMain.cs

     文件      10062  2014-08-14 15:03  TreeViewSample\TreeViewSample\Form\frmMain.Designer.cs

     文件       8579  2014-08-14 15:03  TreeViewSample\TreeViewSample\Form\frmMain.resx

     文件       2164  2014-08-14 14:27  TreeViewSample\TreeViewSample\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6396  2014-08-14 15:06  TreeViewSample\TreeViewSample\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        422  2014-08-14 15:03  TreeViewSample\TreeViewSample\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        960  2014-08-14 15:03  TreeViewSample\TreeViewSample\obj\x86\Debug\GenerateResource.write.1.tlog

     文件        214  2014-08-14 15:07  TreeViewSample\TreeViewSample\obj\x86\Debug\TreeViewSample.csproj.FileListAbsolute.txt

     文件      16384  2014-08-14 15:05  TreeViewSample\TreeViewSample\obj\x86\Debug\TreeViewSample.exe

     文件       1853  2014-08-14 15:03  TreeViewSample\TreeViewSample\obj\x86\Debug\TreeViewSample.frmMain.resources

     文件      32256  2014-08-14 15:05  TreeViewSample\TreeViewSample\obj\x86\Debug\TreeViewSample.pdb

     文件        180  2014-08-14 14:40  TreeViewSample\TreeViewSample\obj\x86\Debug\TreeViewSample.Properties.Resources.resources

     文件       1101  2014-08-14 15:05  TreeViewSample\TreeViewSample\obj\x86\Debug\TreeViewSample2010.csproj.FileListAbsolute.txt

     文件        497  2014-08-14 14:28  TreeViewSample\TreeViewSample\Program.cs

     文件       1360  2014-08-14 14:27  TreeViewSample\TreeViewSample\Properties\AssemblyInfo.cs

     文件       2879  2014-08-14 14:27  TreeViewSample\TreeViewSample\Properties\Resources.Designer.cs

     文件       5612  2014-08-14 14:27  TreeViewSample\TreeViewSample\Properties\Resources.resx

     文件       1100  2014-08-14 14:27  TreeViewSample\TreeViewSample\Properties\Settings.Designer.cs

     文件        249  2014-08-14 14:27  TreeViewSample\TreeViewSample\Properties\Settings.settings

     文件       3779  2014-08-14 14:40  TreeViewSample\TreeViewSample\TreeViewSample.csproj

     文件        227  2014-08-14 14:40  TreeViewSample\TreeViewSample\TreeViewSample.csproj.user

     文件        884  2014-08-14 15:06  TreeViewSample\TreeViewSample.sln

    ..A..H.     22528  2014-08-14 15:07  TreeViewSample\TreeViewSample.suo

     目录          0  2014-08-14 14:27  TreeViewSample\TreeViewSample\obj\x86\Debug\TempPE

     目录          0  2014-08-14 15:06  TreeViewSample\TreeViewSample\obj\x86\Debug

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

评论

共有 条评论