📄 frmmain.cs
字号:
this.mnuAddBrotherFolder.Index = 9;
this.mnuAddBrotherFolder.Text = "文件夹型(兄弟)";
this.mnuAddBrotherFolder.Click += new System.EventHandler(this.mnuAddBrotherFolderNode_Click);
//
// mnuAddBrotherPicLib
//
this.mnuAddBrotherPicLib.Index = 10;
this.mnuAddBrotherPicLib.Text = "图片型(兄弟)";
this.mnuAddBrotherPicLib.Click += new System.EventHandler(this.mnuAddBrotherPicLibNode_Click);
//
// btnRename
//
this.btnRename.ImageIndex = 2;
this.btnRename.Tag = "Rename";
this.btnRename.ToolTipText = "节点改名";
//
// btnDeleteNode
//
this.btnDeleteNode.ImageIndex = 3;
this.btnDeleteNode.Tag = "DeleteNode";
this.btnDeleteNode.ToolTipText = "删除节点";
//
// btnMoveUp
//
this.btnMoveUp.ImageIndex = 4;
this.btnMoveUp.Tag = "MoveUp";
this.btnMoveUp.ToolTipText = "上移";
//
// btnMoveDown
//
this.btnMoveDown.ImageIndex = 5;
this.btnMoveDown.Tag = "MoveDown";
this.btnMoveDown.ToolTipText = "下移";
//
// btnMoveLeft
//
this.btnMoveLeft.ImageIndex = 6;
this.btnMoveLeft.Tag = "MoveLeft";
this.btnMoveLeft.ToolTipText = "升级";
//
// btnMoveRight
//
this.btnMoveRight.ImageIndex = 7;
this.btnMoveRight.Tag = "MoveRight";
this.btnMoveRight.ToolTipText = "降级";
//
// toolBarButton3
//
this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
//
// btnFindNode
//
this.btnFindNode.ImageIndex = 12;
this.btnFindNode.Tag = "FindNode";
this.btnFindNode.ToolTipText = "查找数据";
//
// ImageListSystemFunc
//
this.ImageListSystemFunc.ImageSize = new System.Drawing.Size(32, 32);
this.ImageListSystemFunc.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageListSystemFunc.ImageStream")));
this.ImageListSystemFunc.TransparentColor = System.Drawing.Color.Transparent;
//
// panel3
//
this.panel3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel3.BackgroundImage")));
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Controls.Add(this.label1);
this.panel3.Controls.Add(this.label2);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(0, 249);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(576, 32);
this.panel3.TabIndex = 0;
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Location = new System.Drawing.Point(8, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(177, 17);
this.label1.TabIndex = 0;
this.label1.Text = "提示:右击树可以弹出下拉菜单";
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Location = new System.Drawing.Point(368, 6);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(202, 17);
this.label2.TabIndex = 0;
this.label2.Text = "合工大电子商务研究所 马向辉 开发";
//
// mainMenu1
//
this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.mnuSystem,
this.mnuTools});
//
// mnuSystem
//
this.mnuSystem.Index = 0;
this.mnuSystem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.mnuExit});
this.mnuSystem.Text = "系统功能";
//
// mnuExit
//
this.mnuExit.Index = 0;
this.mnuExit.Text = "退出";
this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
//
// mnuTools
//
this.mnuTools.Index = 1;
this.mnuTools.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.mnuBackup,
this.mnuRestore,
this.menuItem1,
this.mnuCompressDB,
this.menuItem2,
this.mnuOption});
this.mnuTools.Text = "工具";
//
// mnuBackup
//
this.mnuBackup.Index = 0;
this.mnuBackup.Text = "备份数据";
this.mnuBackup.Click += new System.EventHandler(this.mnuBackup_Click);
//
// mnuRestore
//
this.mnuRestore.Index = 1;
this.mnuRestore.Text = "恢复数据";
this.mnuRestore.Click += new System.EventHandler(this.mnuRestore_Click);
//
// menuItem1
//
this.menuItem1.Index = 2;
this.menuItem1.Text = "-";
//
// mnuCompressDB
//
this.mnuCompressDB.Index = 3;
this.mnuCompressDB.Text = "压缩数据库";
this.mnuCompressDB.Click += new System.EventHandler(this.mnuCompressDB_Click);
//
// menuItem2
//
this.menuItem2.Index = 4;
this.menuItem2.Text = "-";
//
// mnuOption
//
this.mnuOption.Index = 5;
this.mnuOption.Text = "选项…";
this.mnuOption.Click += new System.EventHandler(this.mnuOption_Click);
//
// splitter1
//
this.splitter1.BackColor = System.Drawing.Color.White;
this.splitter1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.splitter1.Dock = System.Windows.Forms.DockStyle.Top;
this.splitter1.Location = new System.Drawing.Point(0, 40);
this.splitter1.Name = "splitter1";
this.splitter1.Size = new System.Drawing.Size(576, 8);
this.splitter1.TabIndex = 1;
this.splitter1.TabStop = false;
//
// panel2
//
this.panel2.Controls.Add(this.pnlWorkPlace);
this.panel2.Controls.Add(this.splitter2);
this.panel2.Controls.Add(this.panel4);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 48);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(576, 201);
this.panel2.TabIndex = 2;
//
// pnlWorkPlace
//
this.pnlWorkPlace.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(192)));
this.pnlWorkPlace.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pnlWorkPlace.BackgroundImage")));
this.pnlWorkPlace.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlWorkPlace.Location = new System.Drawing.Point(200, 0);
this.pnlWorkPlace.Name = "pnlWorkPlace";
this.pnlWorkPlace.Size = new System.Drawing.Size(376, 201);
this.pnlWorkPlace.TabIndex = 2;
//
// splitter2
//
this.splitter2.BackColor = System.Drawing.Color.White;
this.splitter2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.splitter2.Location = new System.Drawing.Point(192, 0);
this.splitter2.Name = "splitter2";
this.splitter2.Size = new System.Drawing.Size(8, 201);
this.splitter2.TabIndex = 1;
this.splitter2.TabStop = false;
//
// panel4
//
this.panel4.BackColor = System.Drawing.SystemColors.Control;
this.panel4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel4.BackgroundImage")));
this.panel4.Controls.Add(this.superTreeView1);
this.panel4.Dock = System.Windows.Forms.DockStyle.Left;
this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(192, 201);
this.panel4.TabIndex = 0;
//
// superTreeView1
//
this.superTreeView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.superTreeView1.AutoExpandSubTree = true;
this.superTreeView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.superTreeView1.ContextMenu = this.ctxTreeOpt;
this.superTreeView1.HideSelection = false;
this.superTreeView1.ImageList = this.ImageListTreeNode;
this.superTreeView1.Location = new System.Drawing.Point(16, 12);
this.superTreeView1.Name = "superTreeView1";
this.superTreeView1.SelectedImageIndex = 1;
this.superTreeView1.Size = new System.Drawing.Size(160, 176);
this.superTreeView1.TabIndex = 0;
this.superTreeView1.Text = "SuperTreeView";
this.superTreeView1.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.superTreeView1_BeforeLabelEdit);
this.superTreeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.superTreeView1_KeyDown);
this.superTreeView1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.superTreeView1_MouseDown);
this.superTreeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.superTreeView1_AfterSelect);
this.superTreeView1.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.superTreeView1_AfterLabelEdit);
this.superTreeView1.Click += new System.EventHandler(this.superTreeView1_Click);
this.superTreeView1.NodeMove += new PublicUIComponent.SuperTreeView.NodeMoveEventHandler(this.superTreeView1_NodeMove);
//
// ctxTreeOpt
//
this.ctxTreeOpt.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.mnuCopyNodeText,
this.mnuExpandAllSubTree,
this.menuItem4,
this.mnuCutNode,
this.mnuPasteNode,
this.menuItem5,
this.mnuAddChild,
this.mnuAddBrother,
this.mnuAddFirstLevel,
this.mnuDeleteNode,
this.mnuRenameNode,
this.menuItem6,
this.mnuNodeMoveUp,
this.mnuNodeMoveDown,
this.mnuNodeMoveLeft,
this.mnuNodeMoveRight});
//
// mnuCopyNodeText
//
this.mnuCopyNodeText.Index = 0;
this.mnuCopyNodeText.Text = "复制节点文本";
this.mnuCopyNodeText.Click += new System.EventHandler(this.mnuCopyNodeText_Click);
//
// mnuExpandAllSubTree
//
this.mnuExpandAllSubTree.Index = 1;
this.mnuExpandAllSubTree.Text = "展开全部子树";
this.mnuExpandAllSubTree.Click += new System.EventHandler(this.mnuExpandAllSubTree_Click);
//
// menuItem4
//
this.menuItem4.Index = 2;
this.menuItem4.Text = "-";
//
// mnuCutNode
//
this.mnuCutNode.Index = 3;
this.mnuCutNode.Text = "剪切节点";
this.mnuCutNode.Click += new System.EventHandler(this.mnuCutNode_Click);
//
// mnuPasteNode
//
this.mnuPasteNode.Enabled = false;
this.mnuPasteNode.Index = 4;
this.mnuPasteNode.Text = "粘贴节点";
this.mnuPasteNode.Click += new System.EventHandler(this.mnuPasteNode_Click);
//
// menuItem5
//
this.menuItem5.Index = 5;
this.menuItem5.Text = "-";
//
// mnuAddChild
//
this.mnuAddChild.Index = 6;
this.mnuAddChild.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.mnuAddChildDetailTextNode,
this.mnuAddChildOnlyFileNode,
this.mnuAddChildFolderNode,
this.mnuAddChildOnlyTextNode,
this.mnuAddChildPicLibNode});
this.mnuAddChild.Text = "增加子节点";
//
// mnuAddChildDetailTextNode
//
this.mnuAddChildDetailTextNode.Index = 0;
this.mnuAddChildDetailTextNode.Text = "详细信息型";
this.mnuAddChildDetailTextNode.Click += new System.EventHandler(this.mnuAddChildDetailTextNode_Click);
//
// mnuAddChildOnlyFileNode
//
this.mnuAddChildOnlyFileNode.Index = 1;
this.mnuAddChildOnlyFileNode.Text = "文件型";
this.mnuAddChildOnlyFileNode.Click += new System.EventHandler(this.mnuAddChildOnlyFileNode_Click);
//
// mnuAddChildFolderNode
//
this.mnuAddChildFolderNode.Index = 2;
this.mnuAddChildFolderNode.Text = "文件夹型";
this.mnuAddChildFolderNode.Click += new System.EventHandler(this.mnuAddChildFolderNode_Click);
//
// mnuAddChildOnlyTextNode
//
this.mnuAddChildOnlyTextNode.Index = 3;
this.mnuAddChildOnlyTextNode.Text = "纯文本型";
this.mnuAddChildOnlyTextNode.Click += new System.EventHandler(this.mnuAddChildOnlyTextNode_Click);
//
// mnuAddChildPicLibNode
//
this.mnuAddChildPicLibNode.Index = 4;
this.mnuAddChildPicLibNode.Text = "图片型";
this.mnuAddChildPicLibNode.Click += new System.EventHandler(this.mnuAddChildPicLibNode_Click);
//
// mnuAddBrother
//
this.mnuAddBrother.Index = 7;
this.mnuAddBrother.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.mnuAddBrotherDetailTextNode,
this.mnuAddBrotherOnlyFileNode,
this.mnuAddBrotherFolderNode,
this.mnuAddBrotherOnlyTextNode,
this.mnuAddBrotherPicLibNode});
this.mnuAddBrother.Text = "增加兄弟节点";
//
// mnuAddBrotherDetailTextNode
//
this.mnuAddBrotherDetailTextNode.Index = 0;
this.mnuAddBrotherDetailTextNode.Text = "详细信息型";
this.mnuAddBrotherDetailTextNode.Click += new System.EventHandler(this.mnuAddBrotherDetailTextNode_Click);
//
// mnuAddBrotherOnlyFileNode
//
this.mnuAddBrotherOnlyFileNode.Index = 1;
this.mnuAddBrotherOnlyFileNode.Text = "文件型";
this.mnuAddBrotherOnlyFileNode.Click += new System.EventHandler(this.mnuAddBrotherOnlyFileNode_Click);
//
// mnuAddBrotherFolderNode
//
this.mnuAddBrotherFolderNode.Index = 2;
this.mnuAddBrotherFolderNode.Text = "文件夹型";
this.mnuAddBrotherFolderNode.Click += new System.EventHandler(this.mnuAddBrotherFolderNode_Click);
//
// mnuAddBrotherOnlyTextNode
//
this.mnuAddBrotherOnlyTextNode.Index = 3;
this.mnuAddBrotherOnlyTextNode.Text = "纯文本型";
this.mnuAddBrotherOnlyTextNode.Click += new System.EventHandler(this.mnuAddBrotherOnlyTextNode_Click);
//
// mnuAddBrotherPicLibNode
//
this.mnuAddBrotherPicLibNode.Index = 4;
this.mnuAddBrotherPicLibNode.Text = "图片型";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -