Here are the examples of the csharp api class CodeBuilder.WinForm.UI.TreeOptionsDialog.SelectFirstPage(System.Windows.Forms.TreeNodeCollection) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
Project: CodeBuilder
Source File: TreeOptionsDialog.cs
Source File: TreeOptionsDialog.cs
private void SelectInitialPage() { if (initialPage != null) SelectPage(initialPage); else if (optionTreeView.Nodes.Count > 0) SelectFirstPage(optionTreeView.Nodes); }
0
2. Example
Project: CodeBuilder
Source File: TreeOptionsDialog.cs
Source File: TreeOptionsDialog.cs
private void SelectPage(string pageName) { TreeNode node = FindNode(optionTreeView.Nodes, pageName); if (node != null) optionTreeView.SelectedNode = node; else SelectFirstPage(optionTreeView.Nodes); }
0
3. Example
Project: CodeBuilder
Source File: TreeOptionsDialog.cs
Source File: TreeOptionsDialog.cs
private void SelectFirstPage(TreeNodeCollection nodes) { if (nodes[0].Nodes.Count == 0) optionTreeView.SelectedNode = nodes[0]; else { nodes[0].Expand(); SelectFirstPage(nodes[0].Nodes); } }