一个不错的资源管理器

namespace FileExplorer
{
    partial class Form1
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.属性ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.关闭ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.剪切ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.复制ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.粘贴ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.删除ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.查看ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.工具栏ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.地址栏ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.状态栏ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
            this.大图标ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.小图标ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.列表ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.详细信息ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
            this.刷新ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.工具TToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.搜索ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.帮助ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.关于FileExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton8 = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton9 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton10 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton11 = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton12 = new System.Windows.Forms.ToolStripButton();
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.toolStrip2 = new System.Windows.Forms.ToolStrip();
            this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
            this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox();
            this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.listView1 = new System.Windows.Forms.ListView();
            this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
            this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
            this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
            this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.打开ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.查看ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.大图标ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.小图标ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.列表ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.详细信息ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.刷新ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
            this.剪切ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.复制ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.删除ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.粘贴ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.新建文件夹ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
            this.属性ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.imageList3 = new System.Windows.Forms.ImageList(this.components);
            this.imageList2 = new System.Windows.Forms.ImageList(this.components);
            this.menuStrip1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.statusStrip1.SuspendLayout();
            this.toolStrip2.SuspendLayout();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // menuStrip1
            //
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.文件ToolStripMenuItem,
            this.编辑ToolStripMenuItem,
            this.查看ToolStripMenuItem,
            this.工具TToolStripMenuItem,
            this.帮助ToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(739, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text = "menuStrip1";
            //
            // 文件ToolStripMenuItem
            //
            this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.属性ToolStripMenuItem,
            this.toolStripSeparator2,
            this.关闭ToolStripMenuItem});
            this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem";
            this.文件ToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
            this.文件ToolStripMenuItem.Text = "文件(&F)";
            //
            // 属性ToolStripMenuItem
            //
            this.属性ToolStripMenuItem.Name = "属性ToolStripMenuItem";
            this.属性ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
            this.属性ToolStripMenuItem.Text = "属性";
            this.属性ToolStripMenuItem.Click += new System.EventHandler(this.属性ToolStripMenuItem_Click);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(91, 6);
            //
            // 关闭ToolStripMenuItem
            //
            this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem";
            this.关闭ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
            this.关闭ToolStripMenuItem.Text = "关闭";
            this.关闭ToolStripMenuItem.Click += new System.EventHandler(this.关闭ToolStripMenuItem_Click);
            //
            // 编辑ToolStripMenuItem
            //
            this.编辑ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.剪切ToolStripMenuItem,
            this.复制ToolStripMenuItem,
            this.粘贴ToolStripMenuItem,
            this.删除ToolStripMenuItem});
            this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem";
            this.编辑ToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.E)));
            this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
            this.编辑ToolStripMenuItem.Text = "编辑(&E)";
            //
            // 剪切ToolStripMenuItem
            //
            this.剪切ToolStripMenuItem.Name = "剪切ToolStripMenuItem";
            this.剪切ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
            this.剪切ToolStripMenuItem.Text = "剪切";
            this.剪切ToolStripMenuItem.Click += new System.EventHandler(this.剪切ToolStripMenuItem_Click);
            //
            // 复制ToolStripMenuItem
            //
            this.复制ToolStripMenuItem.Name = "复制ToolStripMenuItem";
            this.复制ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
            this.复制ToolStripMenuItem.Text = "复制";
            this.复制ToolStripMenuItem.Click += new System.EventHandler(this.复制ToolStripMenuItem_Click);
            //
            // 粘贴ToolStripMenuItem
            //
            this.粘贴ToolStripMenuItem.Name = "粘贴ToolStripMenuItem";
            this.粘贴ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
            this.粘贴ToolStripMenuItem.Text = "粘贴";
            this.粘贴ToolStripMenuItem.Click += new System.EventHandler(this.粘贴ToolStripMenuItem_Click);
            //
            // 删除ToolStripMenuItem
            //
            this.删除ToolStripMenuItem.Name = "删除ToolStripMenuItem";
            this.删除ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
            this.删除ToolStripMenuItem.Text = "删除";
            this.删除ToolStripMenuItem.Click += new System.EventHandler(this.删除ToolStripMenuItem_Click);
            //
            // 查看ToolStripMenuItem
            //
            this.查看ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.工具栏ToolStripMenuItem,
            this.地址栏ToolStripMenuItem,
            this.状态栏ToolStripMenuItem,
            this.toolStripMenuItem1,
            this.大图标ToolStripMenuItem,
            this.小图标ToolStripMenuItem,
            this.列表ToolStripMenuItem,
            this.详细信息ToolStripMenuItem,
            this.toolStripMenuItem2,
            this.刷新ToolStripMenuItem});
            this.查看ToolStripMenuItem.Name = "查看ToolStripMenuItem";
            this.查看ToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.V)));
            this.查看ToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
            this.查看ToolStripMenuItem.Text = "查看(&V)";
            //
            // 工具栏ToolStripMenuItem
            //
            this.工具栏ToolStripMenuItem.Checked = true;
            this.工具栏ToolStripMenuItem.CheckOnClick = true;
            this.工具栏ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.工具栏ToolStripMenuItem.Name = "工具栏ToolStripMenuItem";
            this.工具栏ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.工具栏ToolStripMenuItem.Text = "工具栏";
            this.工具栏ToolStripMenuItem.Click += new System.EventHandler(this.工具栏ToolStripMenuItem_Click);
            //
            // 地址栏ToolStripMenuItem
            //
            this.地址栏ToolStripMenuItem.Checked = true;
            this.地址栏ToolStripMenuItem.CheckOnClick = true;
            this.地址栏ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.地址栏ToolStripMenuItem.Name = "地址栏ToolStripMenuItem";
            this.地址栏ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.地址栏ToolStripMenuItem.Text = "地址栏";
            this.地址栏ToolStripMenuItem.Click += new System.EventHandler(this.地址栏ToolStripMenuItem_Click);
            //
            // 状态栏ToolStripMenuItem
            //
            this.状态栏ToolStripMenuItem.Checked = true;
            this.状态栏ToolStripMenuItem.CheckOnClick = true;
            this.状态栏ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.状态栏ToolStripMenuItem.Name = "状态栏ToolStripMenuItem";
            this.状态栏ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.状态栏ToolStripMenuItem.Text = "状态栏";
            this.状态栏ToolStripMenuItem.Click += new System.EventHandler(this.状态栏ToolStripMenuItem_Click);
            //
            // toolStripMenuItem1
            //
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(115, 6);
            //
            // 大图标ToolStripMenuItem
            //
            this.大图标ToolStripMenuItem.Checked = true;
            this.大图标ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.大图标ToolStripMenuItem.Name = "大图标ToolStripMenuItem";
            this.大图标ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.大图标ToolStripMenuItem.Text = "大图标";
            this.大图标ToolStripMenuItem.Click += new System.EventHandler(this.大图标ToolStripMenuItem_Click);
            //
            // 小图标ToolStripMenuItem
            //
            this.小图标ToolStripMenuItem.Enabled = false;
            this.小图标ToolStripMenuItem.Name = "小图标ToolStripMenuItem";
            this.小图标ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.小图标ToolStripMenuItem.Text = "小图标";
            this.小图标ToolStripMenuItem.Click += new System.EventHandler(this.小图标ToolStripMenuItem_Click);
            //
            // 列表ToolStripMenuItem
            //
            this.列表ToolStripMenuItem.Enabled = false;
            this.列表ToolStripMenuItem.Name = "列表ToolStripMenuItem";
            this.列表ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.列表ToolStripMenuItem.Text = "列表";
            this.列表ToolStripMenuItem.Click += new System.EventHandler(this.列表ToolStripMenuItem_Click);
            //
            // 详细信息ToolStripMenuItem
            //
            this.详细信息ToolStripMenuItem.Name = "详细信息ToolStripMenuItem";
            this.详细信息ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.详细信息ToolStripMenuItem.Text = "详细信息";
            this.详细信息ToolStripMenuItem.Click += new System.EventHandler(this.详细信息ToolStripMenuItem_Click);
            //
            // toolStripMenuItem2
            //
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(115, 6);
            //
            // 刷新ToolStripMenuItem
            //
            this.刷新ToolStripMenuItem.Name = "刷新ToolStripMenuItem";
            this.刷新ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
            this.刷新ToolStripMenuItem.Text = "刷新";
            this.刷新ToolStripMenuItem.Click += new System.EventHandler(this.刷新ToolStripMenuItem_Click);
            //
            // 工具TToolStripMenuItem
            //
            this.工具TToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.搜索ToolStripMenuItem});
            this.工具TToolStripMenuItem.Name = "工具TToolStripMenuItem";
            this.工具TToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
            this.工具TToolStripMenuItem.Text = "工具(&T)";
            //
            // 搜索ToolStripMenuItem
            //
            this.搜索ToolStripMenuItem.Name = "搜索ToolStripMenuItem";
            this.搜索ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
            this.搜索ToolStripMenuItem.Text = "搜索";
            this.搜索ToolStripMenuItem.Click += new System.EventHandler(this.搜索ToolStripMenuItem_Click);
            //
            // 帮助ToolStripMenuItem
            //
            this.帮助ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.关于FileExplorerToolStripMenuItem});
            this.帮助ToolStripMenuItem.Name = "帮助ToolStripMenuItem";
            this.帮助ToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
            this.帮助ToolStripMenuItem.Text = "帮助(&H)";
            //
            // 关于FileExplorerToolStripMenuItem
            //
            this.关于FileExplorerToolStripMenuItem.Name = "关于FileExplorerToolStripMenuItem";
            this.关于FileExplorerToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
            this.关于FileExplorerToolStripMenuItem.Text = "关于 File Explorer";
            this.关于FileExplorerToolStripMenuItem.Click += new System.EventHandler(this.关于FileExplorerToolStripMenuItem_Click);
            //
            // toolStrip1
            //
            this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripButton1,
            this.toolStripButton2,
            this.toolStripButton3,
            this.toolStripSeparator1,
            this.toolStripButton4,
            this.toolStripButton5,
            this.toolStripButton6,
            this.toolStripButton8,
            this.toolStripSeparator3,
            this.toolStripButton9,
            this.toolStripButton10,
            this.toolStripButton11,
            this.toolStripButton12});
            this.toolStrip1.Location = new System.Drawing.Point(0, 24);
            this.toolStrip1.MaximumSize = new System.Drawing.Size(0, 40);
            this.toolStrip1.MinimumSize = new System.Drawing.Size(0, 40);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(739, 40);
            this.toolStrip1.TabIndex = 1;
            this.toolStrip1.Text = "toolStrip1";
            //
            // toolStripButton1
            //
            this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton1.ToolTipText = "后退";
            this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
            //
            // toolStripButton2
            //
            this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
            this.toolStripButton2.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton2.Name = "toolStripButton2";
            this.toolStripButton2.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton2.ToolTipText = "前进";
            this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
            //
            // toolStripButton3
            //
            this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
            this.toolStripButton3.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton3.Name = "toolStripButton3";
            this.toolStripButton3.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton3.ToolTipText = "向上";
            this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 40);
            //
            // toolStripButton4
            //
            this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
            this.toolStripButton4.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton4.Name = "toolStripButton4";
            this.toolStripButton4.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton4.ToolTipText = "搜索";
            this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
            //
            // toolStripButton5
            //
            this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
            this.toolStripButton5.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton5.Name = "toolStripButton5";
            this.toolStripButton5.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton5.ToolTipText = "刷新";
            this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
            //
            // toolStripButton6
            //
            this.toolStripButton6.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
            this.toolStripButton6.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton6.Name = "toolStripButton6";
            this.toolStripButton6.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton6.ToolTipText = "属性";
            this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click);
            //
            // toolStripButton8
            //
            this.toolStripButton8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripButton8.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image")));
            this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton8.Name = "toolStripButton8";
            this.toolStripButton8.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton8.Click += new System.EventHandler(this.toolStripButton8_Click);
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 40);
            //
            // toolStripButton9
            //
            this.toolStripButton9.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image")));
            this.toolStripButton9.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton9.Name = "toolStripButton9";
            this.toolStripButton9.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton9.ToolTipText = "剪切";
            this.toolStripButton9.Click += new System.EventHandler(this.toolStripButton9_Click);
            //
            // toolStripButton10
            //
            this.toolStripButton10.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image")));
            this.toolStripButton10.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton10.Name = "toolStripButton10";
            this.toolStripButton10.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton10.ToolTipText = "复制";
            this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click);
            //
            // toolStripButton11
            //
            this.toolStripButton11.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
            this.toolStripButton11.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton11.Name = "toolStripButton11";
            this.toolStripButton11.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton11.ToolTipText = "粘贴";
            this.toolStripButton11.Click += new System.EventHandler(this.toolStripButton11_Click);
            //
            // toolStripButton12
            //
            this.toolStripButton12.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
            this.toolStripButton12.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton12.Name = "toolStripButton12";
            this.toolStripButton12.Size = new System.Drawing.Size(36, 37);
            this.toolStripButton12.ToolTipText = "删除";
            this.toolStripButton12.Click += new System.EventHandler(this.toolStripButton12_Click);
            //
            // statusStrip1
            //
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripStatusLabel1,
            this.toolStripStatusLabel3,
            this.toolStripStatusLabel2});
            this.statusStrip1.Location = new System.Drawing.Point(0, 452);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.statusStrip1.Size = new System.Drawing.Size(739, 22);
            this.statusStrip1.TabIndex = 2;
            this.statusStrip1.Text = "statusStrip1";
            //
            // toolStripStatusLabel1
            //
            this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17);
            //
            // toolStripStatusLabel3
            //
            this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
            this.toolStripStatusLabel3.Size = new System.Drawing.Size(527, 17);
            this.toolStripStatusLabel3.Spring = true;
            //
            // toolStripStatusLabel2
            //
            this.toolStripStatusLabel2.IsLink = true;
            this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
            this.toolStripStatusLabel2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.toolStripStatusLabel2.Size = new System.Drawing.Size(197, 17);
            this.toolStripStatusLabel2.Text = "http://blog.csdn.net/zhengzhiren";
            this.toolStripStatusLabel2.Click += new System.EventHandler(this.toolStripStatusLabel2_Click);
            //
            // imageList1
            //
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.SystemColors.Control;
            this.imageList1.Images.SetKeyName(0, "driver.ico");
            this.imageList1.Images.SetKeyName(1, "cdrom.ico");
            this.imageList1.Images.SetKeyName(2, "folder1.ico");
            this.imageList1.Images.SetKeyName(3, "folder2.ico");
            //
            // toolStrip2
            //
            this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripLabel1,
            this.toolStripComboBox1,
            this.toolStripButton7});
            this.toolStrip2.Location = new System.Drawing.Point(0, 64);
            this.toolStrip2.Name = "toolStrip2";
            this.toolStrip2.Size = new System.Drawing.Size(739, 25);
            this.toolStrip2.TabIndex = 3;
            this.toolStrip2.Text = "toolStrip2";
            //
            // toolStripLabel1
            //
            this.toolStripLabel1.Name = "toolStripLabel1";
            this.toolStripLabel1.Size = new System.Drawing.Size(35, 22);
            this.toolStripLabel1.Text = "地址:";
            //
            // toolStripComboBox1
            //
            this.toolStripComboBox1.AutoSize = false;
            this.toolStripComboBox1.Name = "toolStripComboBox1";
            this.toolStripComboBox1.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;
            this.toolStripComboBox1.Size = new System.Drawing.Size(635, 20);
            this.toolStripComboBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.toolStripComboBox1_KeyPress);
            //
            // toolStripButton7
            //
            this.toolStripButton7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
            this.toolStripButton7.ImageTransparentColor = System.Drawing.SystemColors.Control;
            this.toolStripButton7.Name = "toolStripButton7";
            this.toolStripButton7.Size = new System.Drawing.Size(49, 22);
            this.toolStripButton7.Text = "转到";
            this.toolStripButton7.ToolTipText = "转到";
            this.toolStripButton7.Click += new System.EventHandler(this.toolStripButton7_Click);
            //
            // splitContainer1
            //
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer1.Location = new System.Drawing.Point(0, 89);
            this.splitContainer1.Name = "splitContainer1";
            //
            // splitContainer1.Panel1
            //
            this.splitContainer1.Panel1.Controls.Add(this.treeView1);
            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.listView1);
            this.splitContainer1.Size = new System.Drawing.Size(739, 363);
            this.splitContainer1.SplitterDistance = 231;
            this.splitContainer1.TabIndex = 4;
            //
            // treeView1
            //
            this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView1.ImageIndex = 2;
            this.treeView1.ImageList = this.imageList1;
            this.treeView1.ItemHeight = 22;
            this.treeView1.Location = new System.Drawing.Point(0, 0);
            this.treeView1.Name = "treeView1";
            this.treeView1.SelectedImageIndex = 3;
            this.treeView1.Size = new System.Drawing.Size(231, 363);
            this.treeView1.TabIndex = 0;
            this.treeView1.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeExpand);
            this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
            //
            // listView1
            //
            this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader3,
            this.columnHeader4});
            this.listView1.ContextMenuStrip = this.contextMenuStrip1;
            this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listView1.LargeImageList = this.imageList3;
            this.listView1.Location = new System.Drawing.Point(0, 0);
            this.listView1.Name = "listView1";
            this.listView1.Size = new System.Drawing.Size(504, 363);
            this.listView1.SmallImageList = this.imageList2;
            this.listView1.TabIndex = 0;
            this.listView1.UseCompatibleStateImageBehavior = false;
            this.listView1.ItemActivate += new System.EventHandler(this.listView1_ItemActivate);
            //
            // columnHeader1
            //
            this.columnHeader1.Text = "名称";
            this.columnHeader1.Width = 210;
            //
            // columnHeader2
            //
            this.columnHeader2.Text = "大小";
            this.columnHeader2.Width = 100;
            //
            // columnHeader3
            //
            this.columnHeader3.Text = "类型";
            this.columnHeader3.Width = 70;
            //
            // columnHeader4
            //
            this.columnHeader4.Text = "修改日期";
            this.columnHeader4.Width = 200;
            //
            // contextMenuStrip1
            //
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.打开ToolStripMenuItem1,
            this.查看ToolStripMenuItem1,
            this.刷新ToolStripMenuItem1,
            this.toolStripMenuItem3,
            this.剪切ToolStripMenuItem2,
            this.复制ToolStripMenuItem2,
            this.删除ToolStripMenuItem2,
            this.粘贴ToolStripMenuItem1,
            this.新建文件夹ToolStripMenuItem,
            this.toolStripMenuItem4,
            this.属性ToolStripMenuItem1});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(131, 214);
            this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening);
            //
            // 打开ToolStripMenuItem1
            //
            this.打开ToolStripMenuItem1.Name = "打开ToolStripMenuItem1";
            this.打开ToolStripMenuItem1.Size = new System.Drawing.Size(130, 22);
            this.打开ToolStripMenuItem1.Text = "打开";
            this.打开ToolStripMenuItem1.Click += new System.EventHandler(this.打开ToolStripMenuItem1_Click);
            //
            // 查看ToolStripMenuItem1
            //
            this.查看ToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.大图标ToolStripMenuItem1,
            this.小图标ToolStripMenuItem1,
            this.列表ToolStripMenuItem1,
            this.详细信息ToolStripMenuItem1});
            this.查看ToolStripMenuItem1.Name = "查看ToolStripMenuItem1";
            this.查看ToolStripMenuItem1.Size = new System.Drawing.Size(130, 22);
            this.查看ToolStripMenuItem1.Text = "查看";
            //
            // 大图标ToolStripMenuItem1
            //
            this.大图标ToolStripMenuItem1.Checked = true;
            this.大图标ToolStripMenuItem1.CheckState = System.Windows.Forms.CheckState.Checked;
            this.大图标ToolStripMenuItem1.Name = "大图标ToolStripMenuItem1";
            this.大图标ToolStripMenuItem1.Size = new System.Drawing.Size(118, 22);
            this.大图标ToolStripMenuItem1.Text = "大图标";
            this.大图标ToolStripMenuItem1.Click += new System.EventHandler(this.大图标ToolStripMenuItem1_Click);
            //
            // 小图标ToolStripMenuItem1
            //
            this.小图标ToolStripMenuItem1.Enabled = false;
            this.小图标ToolStripMenuItem1.Name = "小图标ToolStripMenuItem1";
            this.小图标ToolStripMenuItem1.Size = new System.Drawing.Size(118, 22);
            this.小图标ToolStripMenuItem1.Text = "小图标";
            this.小图标ToolStripMenuItem1.Click += new System.EventHandler(this.小图标ToolStripMenuItem1_Click);
            //
            // 列表ToolStripMenuItem1
            //
            this.列表ToolStripMenuItem1.Enabled = false;
            this.列表ToolStripMenuItem1.Name = "列表ToolStripMenuItem1";
            this.列表ToolStripMenuItem1.Size = new System.Drawing.Size(118, 22);
            this.列表ToolStripMenuItem1.Text = "列表";
            this.列表ToolStripMenuItem1.Click += new System.EventHandler(this.列表ToolStripMenuItem1_Click);
            //
            // 详细信息ToolStripMenuItem1
            //
            this.详细信息ToolStripMenuItem1.Name = "详细信息ToolStripMenuItem1";
            this.详细信息ToolStripMenuItem1.Size = new System.Drawing.Size(118, 22);
            this.详细信息ToolStripMenuItem1.Text = "详细信息";
            this.详细信息ToolStripMenuItem1.Click += new System.EventHandler(this.详细信息ToolStripMenuItem1_Click);
            //
            // 刷新ToolStripMenuItem1
            //
            this.刷新ToolStripMenuItem1.Name = "刷新ToolStripMenuItem1";
            this.刷新ToolStripMenuItem1.Size = new System.Drawing.Size(130, 22);
            this.刷新ToolStripMenuItem1.Text = "刷新";
            this.刷新ToolStripMenuItem1.Click += new System.EventHandler(this.刷新ToolStripMenuItem1_Click);
            //
            // toolStripMenuItem3
            //
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(127, 6);
            //
            // 剪切ToolStripMenuItem2
            //
            this.剪切ToolStripMenuItem2.Name = "剪切ToolStripMenuItem2";
            this.剪切ToolStripMenuItem2.Size = new System.Drawing.Size(130, 22);
            this.剪切ToolStripMenuItem2.Text = "剪切";
            this.剪切ToolStripMenuItem2.Click += new System.EventHandler(this.剪切ToolStripMenuItem2_Click);
            //
            // 复制ToolStripMenuItem2
            //
            this.复制ToolStripMenuItem2.Name = "复制ToolStripMenuItem2";
            this.复制ToolStripMenuItem2.Size = new System.Drawing.Size(130, 22);
            this.复制ToolStripMenuItem2.Text = "复制";
            this.复制ToolStripMenuItem2.Click += new System.EventHandler(this.复制ToolStripMenuItem2_Click);
            //
            // 删除ToolStripMenuItem2
            //
            this.删除ToolStripMenuItem2.Name = "删除ToolStripMenuItem2";
            this.删除ToolStripMenuItem2.Size = new System.Drawing.Size(130, 22);
            this.删除ToolStripMenuItem2.Text = "删除";
            this.删除ToolStripMenuItem2.Click += new System.EventHandler(this.删除ToolStripMenuItem2_Click);
            //
            // 粘贴ToolStripMenuItem1
            //
            this.粘贴ToolStripMenuItem1.Name = "粘贴ToolStripMenuItem1";
            this.粘贴ToolStripMenuItem1.Size = new System.Drawing.Size(130, 22);
            this.粘贴ToolStripMenuItem1.Text = "粘贴";
            this.粘贴ToolStripMenuItem1.Click += new System.EventHandler(this.粘贴ToolStripMenuItem1_Click);
            //
            // 新建文件夹ToolStripMenuItem
            //
            this.新建文件夹ToolStripMenuItem.Name = "新建文件夹ToolStripMenuItem";
            this.新建文件夹ToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
            this.新建文件夹ToolStripMenuItem.Text = "新建文件夹";
            this.新建文件夹ToolStripMenuItem.Click += new System.EventHandler(this.新建文件夹ToolStripMenuItem_Click);
            //
            // toolStripMenuItem4
            //
            this.toolStripMenuItem4.Name = "toolStripMenuItem4";
            this.toolStripMenuItem4.Size = new System.Drawing.Size(127, 6);
            //
            // 属性ToolStripMenuItem1
            //
            this.属性ToolStripMenuItem1.Name = "属性ToolStripMenuItem1";
            this.属性ToolStripMenuItem1.Size = new System.Drawing.Size(130, 22);
            this.属性ToolStripMenuItem1.Text = "属性";
            this.属性ToolStripMenuItem1.Click += new System.EventHandler(this.属性ToolStripMenuItem1_Click);
            //
            // imageList3
            //
            this.imageList3.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList3.ImageStream")));
            this.imageList3.TransparentColor = System.Drawing.SystemColors.Control;
            this.imageList3.Images.SetKeyName(0, "driver.ico");
            this.imageList3.Images.SetKeyName(1, "cdrom.ico");
            this.imageList3.Images.SetKeyName(2, "folder.ico");
            //
            // imageList2
            //
            this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
            this.imageList2.TransparentColor = System.Drawing.SystemColors.Control;
            this.imageList2.Images.SetKeyName(0, "driver.ico");
            this.imageList2.Images.SetKeyName(1, "cdrom.ico");
            this.imageList2.Images.SetKeyName(2, "folder.ico");
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(739, 474);
            this.Controls.Add(this.splitContainer1);
            this.Controls.Add(this.toolStrip2);
            this.Controls.Add(this.statusStrip1);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.menuStrip1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "Form1";
            this.Text = "File Explorer";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.toolStrip2.ResumeLayout(false);
            this.toolStrip2.PerformLayout();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem 文件ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 属性ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
        private System.Windows.Forms.ToolStripMenuItem 关闭ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 编辑ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 查看ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 帮助ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 关于FileExplorerToolStripMenuItem;
        private System.Windows.Forms.ToolStrip toolStrip1;
        private System.Windows.Forms.StatusStrip statusStrip1;
        private System.Windows.Forms.ToolStripButton toolStripButton3;
        private System.Windows.Forms.ToolStripButton toolStripButton4;
        private System.Windows.Forms.ToolStripButton toolStripButton5;
        private System.Windows.Forms.ToolStripButton toolStripButton6;
        private System.Windows.Forms.ImageList imageList1;
        private System.Windows.Forms.ToolStripMenuItem 工具栏ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 地址栏ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 状态栏ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 大图标ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 小图标ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 详细信息ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 列表ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
        private System.Windows.Forms.ToolStripMenuItem 刷新ToolStripMenuItem;
        private System.Windows.Forms.ToolStrip toolStrip2;
        private System.Windows.Forms.ToolStripLabel toolStripLabel1;
        private System.Windows.Forms.SplitContainer splitContainer1;
        private System.Windows.Forms.TreeView treeView1;
        private System.Windows.Forms.ListView listView1;
        private System.Windows.Forms.ColumnHeader columnHeader1;
        private System.Windows.Forms.ColumnHeader columnHeader2;
        private System.Windows.Forms.ColumnHeader columnHeader3;
        private System.Windows.Forms.ToolStripComboBox toolStripComboBox1;
        private System.Windows.Forms.ToolStripButton toolStripButton7;
        private System.Windows.Forms.ImageList imageList2;
        private System.Windows.Forms.ToolStripMenuItem 工具TToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 搜索ToolStripMenuItem;
        private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
        private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
        private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
        private System.Windows.Forms.ImageList imageList3;
        private System.Windows.Forms.ToolStripButton toolStripButton8;
        private System.Windows.Forms.ToolStripButton toolStripButton1;
        private System.Windows.Forms.ToolStripButton toolStripButton2;
        private System.Windows.Forms.ToolStripMenuItem 剪切ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 复制ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 粘贴ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
        private System.Windows.Forms.ToolStripButton toolStripButton9;
        private System.Windows.Forms.ToolStripButton toolStripButton10;
        private System.Windows.Forms.ToolStripButton toolStripButton11;
        private System.Windows.Forms.ToolStripMenuItem 删除ToolStripMenuItem;
        private System.Windows.Forms.ToolStripButton toolStripButton12;
        private System.Windows.Forms.ToolStripMenuItem 查看ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 大图标ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 小图标ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 列表ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 详细信息ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 刷新ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
        private System.Windows.Forms.ToolStripMenuItem 粘贴ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 新建文件夹ToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
        private System.Windows.Forms.ToolStripMenuItem 属性ToolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem 剪切ToolStripMenuItem2;
        private System.Windows.Forms.ToolStripMenuItem 复制ToolStripMenuItem2;
        private System.Windows.Forms.ToolStripMenuItem 删除ToolStripMenuItem2;
        private System.Windows.Forms.ToolStripMenuItem 打开ToolStripMenuItem1;
        private System.Windows.Forms.ColumnHeader columnHeader4;
    }
}

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

namespace FileExplorer
{
    public partial class Form1 : Form
    {
        private string currentPath = ""; //当前路径
        private string[] sources = new string[100];   //复制文件的源路径
        private bool IsMove = false;    //是否移动

        public Form1()
        {
            InitializeComponent();
        }

        //列出磁盘
        private void ListDrivers()
        {
            treeView1.Nodes.Clear();
            listView1.Items.Clear();
            currentPath = "";
            toolStripComboBox1.Text = currentPath;
            DriveInfo[] drivers = DriveInfo.GetDrives();
            foreach (DriveInfo driver in drivers)
            {
                TreeNode node = treeView1.Nodes.Add(driver.Name);
                ListViewItem item = listView1.Items.Add(driver.Name);
                item.Name = driver.Name;
                //判断驱动器类型,用不同图标显示
                switch (driver.DriveType)
                {
                    case DriveType.CDRom:   //光驱
                        {
                            node.ImageIndex = 1;
                            node.SelectedImageIndex = 1;
                            item.ImageIndex = 1;
                            break;
                        }
                    default:    //默认,显示为磁盘图标
                        {
                            node.ImageIndex = 0;
                            node.SelectedImageIndex = 0;
                            item.ImageIndex = 0;
                            break;
                        }
                }
            }
            foreach (TreeNode node in treeView1.Nodes)
            {
                NodeUpdate(node);
            }
        }

        //更新结点(列出当前目录下的子目录)
        private void NodeUpdate(TreeNode node)
        {
            try
            {
                node.Nodes.Clear();
                DirectoryInfo dir = new DirectoryInfo(node.FullPath);           
                DirectoryInfo[] dirs = dir.GetDirectories();               
                foreach (DirectoryInfo d in dirs)
                {
                    node.Nodes.Add(d.Name);
                }
            }
            catch
            {
            }
        }

        //更新列表(列出当前目录下的目录和文件)
        private void ListUpdate(string newPath)
        {
            if (newPath == "")
                ListDrivers();
            else
            {
                try
                {                   
                    DirectoryInfo currentDir = new DirectoryInfo(newPath);
                    DirectoryInfo[] dirs = currentDir.GetDirectories(); //获取目录
                    FileInfo[] files = currentDir.GetFiles();   //获取文件
                    //删除ImageList中的程序图标
                    foreach (ListViewItem item in listView1.Items)
                    {
                        if (item.Text.EndsWith(".exe"))  //是程序
                        {
                            imageList2.Images.RemoveByKey(item.Text);
                            imageList3.Images.RemoveByKey(item.Text);
                        }
                    }
                    listView1.Items.Clear();
                    //列出文件夹
                    foreach (DirectoryInfo dir in dirs)
                    {
                        ListViewItem dirItem = listView1.Items.Add(dir.Name, 2);
                        dirItem.Name = dir.FullName;
                        dirItem.SubItems.Add("");
                        dirItem.SubItems.Add("文件夹");
                        dirItem.SubItems.Add(dir.LastWriteTimeUtc.ToString());
                    }
                    //列出文件
                    foreach (FileInfo file in files)
                    {
                        ListViewItem fileItem = listView1.Items.Add(file.Name);
                        if (file.Extension == ".exe" || file.Extension == "")   //程序文件或无扩展名
                        {
                            Icon fileIcon = GetSystemIcon.GetIconByFileName(file.FullName);
                            imageList2.Images.Add(file.Name, fileIcon);
                            imageList3.Images.Add(file.Name, fileIcon);
                            fileItem.ImageKey = file.Name;
                        }
                        else    //其它文件
                        {
                            if (!imageList2.Images.ContainsKey(file.Extension))  //ImageList中不存在此类图标
                            {
                                Icon fileIcon = GetSystemIcon.GetIconByFileName(file.FullName);
                                imageList2.Images.Add(file.Extension, fileIcon);
                                imageList3.Images.Add(file.Extension, fileIcon);
                            }
                            fileItem.ImageKey = file.Extension;
                        }
                        fileItem.Name = file.FullName;
                        fileItem.SubItems.Add(file.Length.ToString() + "字节");
                        fileItem.SubItems.Add(file.Extension);
                        fileItem.SubItems.Add(file.LastWriteTimeUtc.ToString());
                    }
                    currentPath = newPath;
                    toolStripComboBox1.Text = currentPath;   //更新地址栏
                    toolStripStatusLabel1.Text = listView1.Items.Count + "个对象";     //更新状态栏
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }           

        //打开文件夹或文件
        private void Open()
        {
            if (listView1.SelectedItems.Count > 0)
            {
                string newPath = listView1.SelectedItems[0].Name;
                try
                {
                    //判断是目录还是文件
                    if (Directory.Exists(newPath))
                        ListUpdate(newPath);
                    else
                        Process.Start(newPath); //打开文件
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }

        //显示属性窗口
        private void ShowAttributes()
        {
            if (listView1.SelectedItems.Count == 0) //无对象选中时,显示当前文件夹属性
            {
                FormAttributes FormAttributes1 = new FormAttributes(currentPath);
            }
            else    //有对象选中时,显示第一个选中对象的属性
            {              
                FormAttributes FormAttributes1 = new FormAttributes(listView1.SelectedItems[0].Name);
            }
        }       

        //剪切
        private void Cut()
        {
            Copy();
            IsMove = true;
        }

        //复制
        private void Copy()
        {
            if (listView1.SelectedItems.Count == 0)
                return;
            sources = new string[100];
            int i = 0;
            foreach (ListViewItem item in listView1.SelectedItems)
            {
                sources[i++] = item.Name;
            }
            IsMove = false;
        }

        //复制或移动文件
        private void CopyFile(string source)
        {
            try
            {
                FileInfo file = new FileInfo(source);
                string destination = Path.Combine(currentPath, file.Name);
                if (destination == source)  //目标路径和源路径相同,返回
                    return;           
                if (IsMove) //移动
                    file.MoveTo(destination);
                else    //复制
                    file.CopyTo(destination);
                //listView1.Items.Add(file.Name);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }

        //递归复制目录下的所有文件
        private void CopyAll(DirectoryInfo source, DirectoryInfo target)
        {
            //判断目标文件夹是否是源文件夹的子目录,是则返回
            for (DirectoryInfo temp = target.Parent; temp != null; temp = temp.Parent)
            {
                if (temp.FullName == source.FullName)
                {
                    MessageBox.Show("无法复制!目标文件夹是源文件夹的子目录!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    return;
                }
            }
            FileInfo[] files = source.GetFiles();
            DirectoryInfo[] dirs = source.GetDirectories();
            // 检查目标文件夹是否存在,不存在则创建
            if (Directory.Exists(target.FullName) == false)
            {
                Directory.CreateDirectory(target.FullName);
            }
            //复制所有文件
            foreach (FileInfo fi in files)
            {
                fi.CopyTo(Path.Combine(target.ToString(), fi.Name));
            }
            //递归复制子目录
            foreach (DirectoryInfo diSourceSubDir in dirs)
            {
                DirectoryInfo nextTargetSubDir = target.CreateSubdirectory(diSourceSubDir.Name);
                CopyAll(diSourceSubDir, nextTargetSubDir);
            }
        }
       
        //复制或移动目录
        private void CopyDirectory(string source)
        {
            try
            {
                DirectoryInfo dir = new DirectoryInfo(source);
                string destination = Path.Combine(currentPath, dir.Name);
                if (destination == source)  //目标路径和源路径相同,返回
                    return;
                if (IsMove) //移动
                    dir.MoveTo(destination);
                else    //复制
                {
                    CopyAll(dir, new DirectoryInfo(destination));
                }
                //listView1.Items.Add(dir.Name);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }

        //粘贴
        private void Paste()
        {
            if (sources[0] == null) //无源文件则返回
                return;
            if (!Directory.Exists(currentPath)) //当前路径无效则返回
                return;
            for (int i = 0; sources[i] != null; i++)
            {
                if (File.Exists(sources[i]))    //文件
                {
                    CopyFile(sources[i]);
                }
                else if (Directory.Exists(sources[i]))  //目录
                {
                    CopyDirectory(sources[i]);
                }
            }
            ListUpdate(currentPath);
            sources = new string[100];
        }

        //删除
        private void Delete()
        {
            if (listView1.SelectedItems.Count == 0)
                return;
            DialogResult result = MessageBox.Show("确定要删除吗?","确认删除",MessageBoxButtons.YesNo,MessageBoxIcon.Information);
            if (result == DialogResult.No)
                return;
            try
            {
                foreach (ListViewItem item in listView1.SelectedItems)
                {
                    string path = item.Name;
                    if (File.Exists(path))  //文件
                        File.Delete(path);
                    else if (Directory.Exists(path))    //目录
                        Directory.Delete(path, true);
                    listView1.Items.Remove(item);
                }               
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }

        //新建文件夹
        private void CreateFolder()
        {
            try
            {
                string path = Path.Combine(currentPath, "重命名");
                int i = 1;
                string newPath = path;
                while (Directory.Exists(newPath))
                {
                    newPath = path + i;
                    i++;
                }
                Directory.CreateDirectory(newPath);
                listView1.Items.Add(newPath, "重命名" + (i - 1 == 0 ? "" : (i - 1).ToString()), 2);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            ListDrivers();
        }

       

        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {
            e.Node.Expand();
            ListUpdate(e.Node.FullPath);
        }      

        private void treeView1_BeforeExpand(object sender, TreeViewCancelEventArgs e)
        {
            NodeUpdate(e.Node); //更新当前结点
            foreach (TreeNode node in e.Node.Nodes) //更新所有子结点
            {
                NodeUpdate(node);
            }
        }

        private void listView1_ItemActivate(object sender, EventArgs e)
        {
            Open();
        }

        #region 菜单栏代码

        private void 属性ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ShowAttributes();
        }

        private void 关闭ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }
       
        private void 剪切ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cut();
        }

        private void 复制ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Copy();
        }

        private void 粘贴ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Paste();
        }

        private void 删除ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Delete();
        }       

        private void 工具栏ToolStripMenuItem_Click(object sender, EventArgs e)
        {           
            toolStrip1.Visible = !toolStrip1.Visible;
        }

        private void 地址栏ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            toolStrip2.Visible = !toolStrip2.Visible;
        }

        private void 状态栏ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            statusStrip1.Visible = !statusStrip1.Visible;
        }       

        private void ClearCheck()
        {
            大图标ToolStripMenuItem.Checked = false;
            小图标ToolStripMenuItem.Checked = false;
            详细信息ToolStripMenuItem.Checked = false;
            列表ToolStripMenuItem.Checked = false;
            大图标ToolStripMenuItem1.Checked = false;
            小图标ToolStripMenuItem1.Checked = false;
            详细信息ToolStripMenuItem1.Checked = false;
            列表ToolStripMenuItem1.Checked = false;
        }

        private void 大图标ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClearCheck();
            大图标ToolStripMenuItem.Checked = true;
            大图标ToolStripMenuItem1.Checked = true;
            listView1.View = View.LargeIcon;
        }

        private void 小图标ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClearCheck();
            小图标ToolStripMenuItem.Checked = true;
            小图标ToolStripMenuItem1.Checked = true;
            listView1.View = View.SmallIcon;
        }

        private void 列表ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClearCheck();
            列表ToolStripMenuItem.Checked = true;
            列表ToolStripMenuItem1.Checked = true;
            listView1.View = View.List;
        }

        private void 详细信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClearCheck();
            详细信息ToolStripMenuItem.Checked = true;
            详细信息ToolStripMenuItem1.Checked = true;
            listView1.View = View.Details;
        }

        private void 刷新ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ListUpdate(currentPath);
        }

        private void 搜索ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void 关于FileExplorerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormAbout FormAbout1 = new FormAbout();
            FormAbout1.Show();
        }

        #endregion

        #region 工具栏代码

        //后退
        private void toolStripButton1_Click(object sender, EventArgs e)
        {

        }

        //前进
        private void toolStripButton2_Click(object sender, EventArgs e)
        {

        }

        //向上
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            if (currentPath == "")
                return;
            DirectoryInfo dir = new DirectoryInfo(currentPath);
            if (dir.Parent != null)
            {
                ListUpdate(dir.Parent.FullName);
            }
            else
            {
                ListDrivers();
            }
        }

        //搜索
        private void toolStripButton4_Click(object sender, EventArgs e)
        {

        }

        //刷新
        private void toolStripButton5_Click(object sender, EventArgs e)
        {
            ListUpdate(currentPath);
        }

        //属性
        private void toolStripButton6_Click(object sender, EventArgs e)
        {
            ShowAttributes();
        }

        //剪切
        private void toolStripButton9_Click(object sender, EventArgs e)
        {
            Cut();
        }

        //复制
        private void toolStripButton10_Click(object sender, EventArgs e)
        {
            Copy();
        }

        //粘贴
        private void toolStripButton11_Click(object sender, EventArgs e)
        {
            Paste();
        }

        //删除
        private void toolStripButton12_Click(object sender, EventArgs e)
        {
            Delete();
        }

        //Blog
        private void toolStripButton8_Click(object sender, EventArgs e)
        {
            Process.Start("http://blog.csdn.net/zhengzhiren");
        }

        #endregion

        private void toolStripButton7_Click(object sender, EventArgs e)
        {
            string newPath = toolStripComboBox1.Text;
            if (newPath == "")
                return;           
            ListUpdate(newPath);
        }

        private void toolStripComboBox1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == (char)Keys.Enter)
            {
                string newPath = toolStripComboBox1.Text;
                if (newPath == "")
                    return;               
                ListUpdate(newPath);
            }
        }

        private void toolStripStatusLabel2_Click(object sender, EventArgs e)
        {
            Process.Start("http://blog.csdn.net/zhengzhiren");
        }

        private void Form1_SizeChanged(object sender, EventArgs e)
        {
            toolStripComboBox1.Width = this.Width - 112;
        }
       
        #region 上下文菜单代码

        private void contextMenuStrip1_Opening(object sender, CancelEventArgs e)
        {
            Point point = listView1.PointToClient(Cursor.Position);
            ListViewItem item = listView1.GetItemAt(point.X, point.Y);   //获得鼠标坐标处的ListViewItem
            if (item == null)   //当前位置没有ListViewItem
            {
                打开ToolStripMenuItem1.Visible = false;
                剪切ToolStripMenuItem2.Visible = false;
                复制ToolStripMenuItem2.Visible = false;
                删除ToolStripMenuItem2.Visible = false;
                查看ToolStripMenuItem1.Visible = true;
                刷新ToolStripMenuItem1.Visible = true;
                粘贴ToolStripMenuItem1.Visible = true;
                新建文件夹ToolStripMenuItem.Visible = true;
            }
            else    //有
            {
                查看ToolStripMenuItem1.Visible = false;
                刷新ToolStripMenuItem1.Visible = false;
                粘贴ToolStripMenuItem1.Visible = false;
                新建文件夹ToolStripMenuItem.Visible = false;
                打开ToolStripMenuItem1.Visible = true;
                剪切ToolStripMenuItem2.Visible = true;
                复制ToolStripMenuItem2.Visible = true;
                删除ToolStripMenuItem2.Visible = true;
            }
        }

        private void 打开ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Open();
        }

        private void 大图标ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ClearCheck();
            大图标ToolStripMenuItem.Checked = true;
            大图标ToolStripMenuItem1.Checked = true;
            listView1.View = View.LargeIcon;
        }

        private void 小图标ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ClearCheck();
            小图标ToolStripMenuItem.Checked = true;
            小图标ToolStripMenuItem1.Checked = true;
            listView1.View = View.SmallIcon;
        }

        private void 列表ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ClearCheck();
            列表ToolStripMenuItem.Checked = true;
            列表ToolStripMenuItem1.Checked = true;
            listView1.View = View.List;
        }

        private void 详细信息ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ClearCheck();
            详细信息ToolStripMenuItem.Checked = true;
            详细信息ToolStripMenuItem1.Checked = true;
            listView1.View = View.Details;
        }

        private void 剪切ToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Cut();
        }

        private void 复制ToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Copy();
        }

        private void 删除ToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Delete();
        }

        private void 粘贴ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Paste();
        }

        private void 新建文件夹ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateFolder();
        }

        private void 属性ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ShowAttributes();
        }

        private void 刷新ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ListUpdate(currentPath);
        }

        #endregion

    }
}

 

 

 

 

 

 

namespace FileExplorer
{
    partial class FormAttributes
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.textBox4 = new System.Windows.Forms.TextBox();
            this.textBox5 = new System.Windows.Forms.TextBox();
            this.textBox6 = new System.Windows.Forms.TextBox();
            this.textBox7 = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(34, 35);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(35, 12);
            this.label1.TabIndex = 0;
            this.label1.Text = "名称:";
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(34, 107);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(35, 12);
            this.label2.TabIndex = 0;
            this.label2.Text = "位置:";
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(34, 134);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(35, 12);
            this.label3.TabIndex = 0;
            this.label3.Text = "大小:";
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(34, 178);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(59, 12);
            this.label4.TabIndex = 0;
            this.label4.Text = "创建时间:";
            //
            // label5
            //
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(34, 205);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(59, 12);
            this.label5.TabIndex = 0;
            this.label5.Text = "修改时间:";
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(34, 232);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(59, 12);
            this.label6.TabIndex = 0;
            this.label6.Text = "访问时间:";
            //
            // label7
            //
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(34, 62);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(59, 12);
            this.label7.TabIndex = 0;
            this.label7.Text = "文件类型:";
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(110, 269);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(58, 23);
            this.button1.TabIndex = 2;
            this.button1.Text = "确定";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // textBox1
            //
            this.textBox1.Location = new System.Drawing.Point(110, 32);
            this.textBox1.Name = "textBox1";
            this.textBox1.ReadOnly = true;
            this.textBox1.Size = new System.Drawing.Size(139, 21);
            this.textBox1.TabIndex = 3;
            //
            // textBox2
            //
            this.textBox2.Location = new System.Drawing.Point(110, 59);
            this.textBox2.Name = "textBox2";
            this.textBox2.ReadOnly = true;
            this.textBox2.Size = new System.Drawing.Size(139, 21);
            this.textBox2.TabIndex = 3;
            //
            // textBox3
            //
            this.textBox3.Location = new System.Drawing.Point(110, 104);
            this.textBox3.Name = "textBox3";
            this.textBox3.ReadOnly = true;
            this.textBox3.Size = new System.Drawing.Size(139, 21);
            this.textBox3.TabIndex = 3;
            //
            // textBox4
            //
            this.textBox4.Location = new System.Drawing.Point(110, 131);
            this.textBox4.Name = "textBox4";
            this.textBox4.ReadOnly = true;
            this.textBox4.Size = new System.Drawing.Size(139, 21);
            this.textBox4.TabIndex = 3;
            //
            // textBox5
            //
            this.textBox5.Location = new System.Drawing.Point(110, 175);
            this.textBox5.Name = "textBox5";
            this.textBox5.ReadOnly = true;
            this.textBox5.Size = new System.Drawing.Size(139, 21);
            this.textBox5.TabIndex = 3;
            //
            // textBox6
            //
            this.textBox6.Location = new System.Drawing.Point(110, 202);
            this.textBox6.Name = "textBox6";
            this.textBox6.ReadOnly = true;
            this.textBox6.Size = new System.Drawing.Size(139, 21);
            this.textBox6.TabIndex = 3;
            //
            // textBox7
            //
            this.textBox7.Location = new System.Drawing.Point(110, 229);
            this.textBox7.Name = "textBox7";
            this.textBox7.ReadOnly = true;
            this.textBox7.Size = new System.Drawing.Size(139, 21);
            this.textBox7.TabIndex = 3;
            //
            // FormAttributes
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(290, 318);
            this.Controls.Add(this.textBox7);
            this.Controls.Add(this.textBox6);
            this.Controls.Add(this.textBox5);
            this.Controls.Add(this.textBox4);
            this.Controls.Add(this.textBox3);
            this.Controls.Add(this.textBox2);
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.label1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "FormAttributes";
            this.Opacity = 0.92;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "属性";
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.TextBox textBox1;
        private System.Windows.Forms.TextBox textBox2;
        private System.Windows.Forms.TextBox textBox3;
        private System.Windows.Forms.TextBox textBox4;
        private System.Windows.Forms.TextBox textBox5;
        private System.Windows.Forms.TextBox textBox6;
        private System.Windows.Forms.TextBox textBox7;
    }
}

 

 

 

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 FileExplorer
{
    public partial class FormAttributes : Form
    {
        public FormAttributes(string path)
        {
            InitializeComponent();
            if (Directory.Exists(path))
            {               
                DirectoryInfo dir = new DirectoryInfo(path);
                this.FileName = dir.Name;
                this.FileType = "文件夹";
                this.FileLocation = (dir.Parent != null) ? dir.Parent.FullName : null;
                this.FileCreationTime = dir.CreationTime.ToString();
                this.FileLastWriteTime = dir.LastAccessTimeUtc.ToString();
                this.FileLastAccessTime = dir.LastAccessTimeUtc.ToString();
                //this.FileLength = dir.
               
            }
            else if (File.Exists(path))
            {
                FileInfo file = new FileInfo(path);
                this.FileName = file.Name;
                this.FileType = file.Extension;
                this.FileLocation = (file.DirectoryName != null) ? file.DirectoryName : null;
                this.FileCreationTime = file.CreationTime.ToString();
                this.FileLastWriteTime = file.LastAccessTimeUtc.ToString();
                this.FileLastAccessTime = file.LastAccessTimeUtc.ToString();
                this.FileLength = file.Length.ToString() + " 字节";
            }
            this.Show();
 
        }

        public string FileName
        {
            get { return textBox1.Text;}
            set { textBox1.Text = value; }
        }

        public string FileType
        {
            get { return textBox2.Text; }
            set { textBox2.Text = value; }
        }

        public string FileLocation
        {
            get { return  textBox3.Text;}
            set { textBox3.Text = value; }
        }

        public string FileLength
        {
            get { return textBox4.Text; }
            set { textBox4.Text = value; }
        }

        public string FileCreationTime
        {
            get { return textBox5.Text; }
            set { textBox5.Text = value; }
        }

        public string FileLastWriteTime
        {
            get { return textBox6.Text; }
            set { textBox6.Text = value; }
        }

        public string FileLastAccessTime
        {
            get { return textBox7.Text; }
            set { textBox7.Text = value; }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

    }
}

MySchool namespace MySchool { partial class FrmLogin { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLogin)); this.btnLogin = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.txtUserName = new System.Windows.Forms.TextBox(); this.txtPwd = new System.Windows.Forms.TextBox(); this.cboLoginType = new System.Windows.Forms.ComboBox(); this.lblLoginId = new System.Windows.Forms.Label(); this.lblPwd = new System.Windows.Forms.Label(); this.lblLoginType = new System.Windows.Forms.Label(); this.SuspendLayout(); // // btnLogin // this.btnLogin.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.btnLogin.BackColor = System.Drawing.Color.Transparent; this.btnLogin.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnLogin.BackgroundImage"))); this.btnLogin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.btnLogin.Cursor = System.Windows.Forms.Cursors.Hand; this.btnLogin.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.btnLogin.FlatAppearance.BorderSize = 0; this.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnLogin.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnLogin.Location = new System.Drawing.Point(181, 299); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(84, 21); this.btnLogin.TabIndex = 3; this.btnLogin.Text = "登 录"; this.btnLogin.UseVisualStyleBackColor = false; // // btnCancel // this.btnCancel.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnCancel.BackgroundImage"))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.btnCancel.FlatAppearance.BorderSize = 0; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnCancel.Location = new System.Drawing.Point(283, 299); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(84, 21); this.btnCancel.TabIndex = 4; this.btnCancel.Text = "取 消"; this.btnCancel.UseVisualStyleBackColor = true; // // txtUserName // this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtUserName.Location = new System.Drawing.Point(254, 190); this.txtUserName.Name = "txtUserName"; this.txtUserName.Size = new System.Drawing.Size(167, 23); this.txtUserName.TabIndex = 0; // // txtPwd // this.txtPwd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtPwd.Location = new System.Drawing.Point(254, 227); this.txtPwd.Name = "txtPwd"; this.txtPwd.Size = new System.Drawing.Size(167, 23); this.txtPwd.TabIndex = 1; this.txtPwd.UseSystemPasswordChar = true; // // cboLoginType // this.cboLoginType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboLoginType.Items.AddRange(new object[] { "系统管理员", "学生"}); this.cboLoginType.Location = new System.Drawing.Point(254, 264); this.cboLoginType.Name = "cboLoginType"; this.cboLoginType.Size = new System.Drawing.Size(167, 22); this.cboLoginType.TabIndex = 2; // // lblLoginId // this.lblLoginId.AutoSize = true; this.lblLoginId.BackColor = System.Drawing.Color.Transparent; this.lblLoginId.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblLoginId.Location = new System.Drawing.Point(181, 194); this.lblLoginId.Name = "lblLoginId"; this.lblLoginId.Size = new System.Drawing.Size(67, 14); this.lblLoginId.TabIndex = 5; this.lblLoginId.Text = "用户名:"; // // lblPwd // this.lblPwd.AutoSize = true; this.lblPwd.BackColor = System.Drawing.Color.Transparent; this.lblPwd.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblPwd.Location = new System.Drawing.Point(181, 231); this.lblPwd.Name = "lblPwd"; this.lblPwd.Size = new System.Drawing.Size(68, 14); this.lblPwd.TabIndex = 6; this.lblPwd.Text = "密 码:"; // // lblLoginType // this.lblLoginType.AutoSize = true; this.lblLoginType.BackColor = System.Drawing.Color.Transparent; this.lblLoginType.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblLoginType.Location = new System.Drawing.Point(181, 268); this.lblLoginType.Name = "lblLoginType"; this.lblLoginType.Size = new System.Drawing.Size(82, 14); this.lblLoginType.TabIndex = 7; this.lblLoginType.Text = "登录类型:"; // // FrmLogin // this.AcceptButton = this.btnLogin; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(506, 372); this.Controls.Add(this.cboLoginType); this.Controls.Add(this.lblLoginType); this.Controls.Add(this.lblPwd); this.Controls.Add(this.lblLoginId); this.Controls.Add(this.txtPwd); this.Controls.Add(this.txtUserName); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnLogin); this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "FrmLogin"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "登录"; this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button btnLogin; private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.TextBox txtUserName; private System.Windows.Forms.TextBox txtPwd; private System.Windows.Forms.ComboBox cboLoginType; private System.Windows.Forms.Label lblLoginId; private System.Windows.Forms.Label lblPwd; private System.Windows.Forms.Label lblLoginType; } }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值