BSA_Browser.BSABrowser.SortNodes(System.Windows.Forms.TreeNode)

Here are the examples of the csharp api class BSA_Browser.BSABrowser.SortNodes(System.Windows.Forms.TreeNode) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
private void SortNodes(TreeNode rootNode)
        {
            foreach (TreeNode node in rootNode.Nodes)
            {
                var nodes = new TreeNode[node.Nodes.Count];

                node.Nodes.CopyTo(nodes, 0);

                Array.Sort(nodes, new TreeNodeSorter());

                node.Nodes.Clear();
                node.Nodes.AddRange(nodes);

                this.SortNodes(node);
            }
        }

2. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
private void tvFolders_BeforeExpand(object sender, TreeViewCancelEventArgs e)
        {
            /n ..... /n //View Source file for more details /n }