private Node GetFoldNode(CItemEntry x) { var xReturn = new Node { Text = x.Name, Tag = x, ContextMenu = contextMenuStrip3 }; xReturn.NodeClick += xReturn_NodeClick; return(xReturn); }
private TreeNode GetFoldNode(CItemEntry x) { return(new TreeNode { Text = x.Name, Tag = x, ContextMenuStrip = contextMenuStrip3 }); }