C# Class Seal.Helpers.TreeViewHelper

Exibir arquivo Open project: ariacom/Seal-Report

Public Methods

Method Description
GetRootCategoryNode ( TreeNode node ) : TreeNode
InitCategoryTreeNode ( TreeNodeCollection categoryNodes, List tables ) : void
NodesFromEntity ( TreeNodeCollection nodes, object entity, List result ) : void
SelectCategoryNode ( TreeView mainTreeView, TreeNodeCollection nodes, string path ) : TreeNode
SelectNode ( TreeView mainTreeView, TreeNodeCollection nodes, object entity ) : void

Private Methods

Method Description
getCategoryTreeNode ( TreeNodeCollection nodes, string category ) : TreeNode

Method Details

GetRootCategoryNode() public static method

public static GetRootCategoryNode ( TreeNode node ) : TreeNode
node System.Windows.Forms.TreeNode
return System.Windows.Forms.TreeNode

InitCategoryTreeNode() public static method

public static InitCategoryTreeNode ( TreeNodeCollection categoryNodes, List tables ) : void
categoryNodes System.Windows.Forms.TreeNodeCollection
tables List
return void

NodesFromEntity() public static method

public static NodesFromEntity ( TreeNodeCollection nodes, object entity, List result ) : void
nodes System.Windows.Forms.TreeNodeCollection
entity object
result List
return void

SelectCategoryNode() public static method

public static SelectCategoryNode ( TreeView mainTreeView, TreeNodeCollection nodes, string path ) : TreeNode
mainTreeView System.Windows.Forms.TreeView
nodes System.Windows.Forms.TreeNodeCollection
path string
return System.Windows.Forms.TreeNode

SelectNode() public static method

public static SelectNode ( TreeView mainTreeView, TreeNodeCollection nodes, object entity ) : void
mainTreeView System.Windows.Forms.TreeView
nodes System.Windows.Forms.TreeNodeCollection
entity object
return void