form1.designer.cs

来自「treeview and listview test」· CS 代码 · 共 336 行 · 第 1/2 页

CS
336
字号
            this.miExpandAll.Name = "miExpandAll";
            this.miExpandAll.Size = new System.Drawing.Size(160, 22);
            this.miExpandAll.Text = "展开所有节点(&E)";
            this.miExpandAll.Click += new System.EventHandler(this.miExpandAll_Click);
            // 
            // miCollapseAll
            // 
            this.miCollapseAll.Name = "miCollapseAll";
            this.miCollapseAll.Size = new System.Drawing.Size(160, 22);
            this.miCollapseAll.Text = "收起所有节点(&C)";
            this.miCollapseAll.Click += new System.EventHandler(this.miCollapseAll_Click);
            // 
            // MiSep2
            // 
            this.MiSep2.Name = "MiSep2";
            this.MiSep2.Size = new System.Drawing.Size(160, 22);
            this.MiSep2.Text = "-";
            // 
            // miChangeSep
            // 
            this.miChangeSep.Name = "miChangeSep";
            this.miChangeSep.Size = new System.Drawing.Size(160, 22);
            this.miChangeSep.Text = "改变分隔符(&S)";
            this.miChangeSep.Click += new System.EventHandler(this.miChangeSep_Click);
            // 
            // miShowPlusMins
            // 
            this.miShowPlusMins.Checked = true;
            this.miShowPlusMins.CheckState = System.Windows.Forms.CheckState.Checked;
            this.miShowPlusMins.Name = "miShowPlusMins";
            this.miShowPlusMins.Size = new System.Drawing.Size(160, 22);
            this.miShowPlusMins.Text = "显示加减号(&P)";
            this.miShowPlusMins.Click += new System.EventHandler(this.miShowPlusMins_Click);
            // 
            // miShowLine
            // 
            this.miShowLine.Checked = true;
            this.miShowLine.CheckState = System.Windows.Forms.CheckState.Checked;
            this.miShowLine.Name = "miShowLine";
            this.miShowLine.Size = new System.Drawing.Size(160, 22);
            this.miShowLine.Text = "显示连线(&L)";
            this.miShowLine.Click += new System.EventHandler(this.miShowLine_Click);
            // 
            // contextMenuOfLv
            // 
            this.contextMenuOfLv.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miLargeIcon,
            this.miSmallIcon,
            this.miList,
            this.miDetail});
            this.contextMenuOfLv.Name = "contextMenuOfLv";
            this.contextMenuOfLv.Size = new System.Drawing.Size(137, 92);
            // 
            // miLargeIcon
            // 
            this.miLargeIcon.Name = "miLargeIcon";
            this.miLargeIcon.Size = new System.Drawing.Size(136, 22);
            this.miLargeIcon.Text = "大图标(&L)";
            this.miLargeIcon.Click += new System.EventHandler(this.miLargeIcon_Click);
            // 
            // miSmallIcon
            // 
            this.miSmallIcon.Name = "miSmallIcon";
            this.miSmallIcon.Size = new System.Drawing.Size(136, 22);
            this.miSmallIcon.Text = "小图标(&S)";
            this.miSmallIcon.Click += new System.EventHandler(this.miSmallIcon_Click);
            // 
            // miList
            // 
            this.miList.Name = "miList";
            this.miList.Size = new System.Drawing.Size(136, 22);
            this.miList.Text = "列表(&T)";
            this.miList.Click += new System.EventHandler(this.miList_Click);
            // 
            // miDetail
            // 
            this.miDetail.Checked = true;
            this.miDetail.CheckState = System.Windows.Forms.CheckState.Checked;
            this.miDetail.Name = "miDetail";
            this.miDetail.Size = new System.Drawing.Size(136, 22);
            this.miDetail.Text = "详细资料(&D)";
            this.miDetail.Click += new System.EventHandler(this.miDetail_Click);
            // 
            // tv
            // 
            this.tv.ContextMenuStrip = this.contextMenuOfTv;
            this.tv.Dock = System.Windows.Forms.DockStyle.Left;
            this.tv.ImageIndex = 0;
            this.tv.ImageList = this.imgListOfTv;
            this.tv.LabelEdit = true;
            this.tv.Location = new System.Drawing.Point(0, 42);
            this.tv.Name = "tv";
            this.tv.SelectedImageIndex = 0;
            this.tv.Size = new System.Drawing.Size(221, 357);
            this.tv.TabIndex = 17;
            this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
            // 
            // splitter1
            // 
            this.splitter1.Location = new System.Drawing.Point(221, 42);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(10, 357);
            this.splitter1.TabIndex = 18;
            this.splitter1.TabStop = false;
            // 
            // lv
            // 
            this.lv.ContextMenuStrip = this.contextMenuOfLv;
            this.lv.Dock = System.Windows.Forms.DockStyle.Fill;
            this.lv.LargeImageList = this.imgListLarge;
            this.lv.Location = new System.Drawing.Point(231, 42);
            this.lv.Name = "lv";
            this.lv.Size = new System.Drawing.Size(346, 357);
            this.lv.SmallImageList = this.imgListSmall;
            this.lv.TabIndex = 20;
            this.lv.UseCompatibleStateImageBehavior = false;
            this.lv.View = System.Windows.Forms.View.Details;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(577, 399);
            this.Controls.Add(this.lv);
            this.Controls.Add(this.splitter1);
            this.Controls.Add(this.tv);
            this.Controls.Add(this.panel1);
            this.Name = "Form1";
            this.Text = "测试树视图和列表视图";
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.contextMenuOfTv.ResumeLayout(false);
            this.contextMenuOfLv.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox txtPath;
        private System.Windows.Forms.ImageList imgListOfTv;
        private System.Windows.Forms.ImageList imgListLarge;
        private System.Windows.Forms.ImageList imgListSmall;
        private System.Windows.Forms.ContextMenuStrip contextMenuOfTv;
        private System.Windows.Forms.ContextMenuStrip contextMenuOfLv;
        private System.Windows.Forms.ToolStripMenuItem miNewNode;
        private System.Windows.Forms.ToolStripMenuItem miDeleteNode;
        private System.Windows.Forms.ToolStripMenuItem MiSep1;
        private System.Windows.Forms.ToolStripMenuItem miExpandAll;
        private System.Windows.Forms.ToolStripMenuItem miCollapseAll;
        private System.Windows.Forms.ToolStripMenuItem MiSep2;
        private System.Windows.Forms.ToolStripMenuItem miChangeSep;
        private System.Windows.Forms.ToolStripMenuItem miShowPlusMins;
        private System.Windows.Forms.ToolStripMenuItem miShowLine;
        private System.Windows.Forms.ToolStripMenuItem miLargeIcon;
        private System.Windows.Forms.ToolStripMenuItem miSmallIcon;
        private System.Windows.Forms.ToolStripMenuItem miList;
        private System.Windows.Forms.ToolStripMenuItem miDetail;
        private System.Windows.Forms.TreeView tv;
        private System.Windows.Forms.Splitter splitter1;
        private System.Windows.Forms.ListView lv;

    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?