Click here to Skip to main content
15,922,407 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to update progressbar in Child Form from Parent Form Pin
benjymous23-Oct-09 1:07
benjymous23-Oct-09 1:07 
QuestionDisplaying Chinese characters Crystal reports Pin
dasha_pl23-Oct-09 0:31
dasha_pl23-Oct-09 0:31 
QuestionWhy cant i do this? Pin
ONeil Tomlinson22-Oct-09 23:48
ONeil Tomlinson22-Oct-09 23:48 
AnswerRe: Why cant i do this? Pin
Calla22-Oct-09 23:50
Calla22-Oct-09 23:50 
AnswerRe: Why cant i do this? Pin
Christian Graus23-Oct-09 0:08
protectorChristian Graus23-Oct-09 0:08 
AnswerRe: Why cant i do this? Pin
dxlee23-Oct-09 5:00
dxlee23-Oct-09 5:00 
QuestionLast grandchild of a node in a tree Pin
devboycpp22-Oct-09 23:17
devboycpp22-Oct-09 23:17 
AnswerRe: Last grandchild of a node in a tree [modified] Pin
dan!sh 23-Oct-09 0:27
professional dan!sh 23-Oct-09 0:27 
List<TreeNode> nodeList = new List<TreeNode>();
            private List<TreeNode> GetChildNodes(TreeNode treeNode)
            {
                  foreach (TreeNode oNode in treeNode.Nodes)
                  {
                        nodeList.Add(oNode);
                        if (oNode.Nodes.Count > 0)
                        {
                              GetChildNodes(oNode);
                        }
                        else {
                        // this is the last node
                        }
                  }
                  return nodeList;
           
            }

This would give you list of nodes in order as they would appear in expanded tree view.

It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

modified on Friday, October 23, 2009 6:39 AM

GeneralRe: Last grandchild of a node in a tree [modified] Pin
devboycpp23-Oct-09 0:46
devboycpp23-Oct-09 0:46 
GeneralRe: Last grandchild of a node in a tree Pin
dan!sh 23-Oct-09 1:11
professional dan!sh 23-Oct-09 1:11 
GeneralRe: Last grandchild of a node in a tree Pin
devboycpp23-Oct-09 2:47
devboycpp23-Oct-09 2:47 
GeneralRe: Last grandchild of a node in a tree Pin
dan!sh 23-Oct-09 3:55
professional dan!sh 23-Oct-09 3:55 
GeneralRe: Last grandchild of a node in a tree Pin
devboycpp23-Oct-09 5:51
devboycpp23-Oct-09 5:51 
GeneralRe: Last grandchild of a node in a tree Pin
ely_bob23-Oct-09 6:50
professionalely_bob23-Oct-09 6:50 
GeneralRe: Last grandchild of a node in a tree Pin
devboycpp23-Oct-09 6:57
devboycpp23-Oct-09 6:57 
GeneralRe: Last grandchild of a node in a tree [modified] Pin
ely_bob23-Oct-09 7:50
professionalely_bob23-Oct-09 7:50 
GeneralRe: Last grandchild of a node in a tree Pin
devboycpp23-Oct-09 8:17
devboycpp23-Oct-09 8:17 
GeneralRe: Last grandchild of a node in a tree Pin
ely_bob23-Oct-09 8:26
professionalely_bob23-Oct-09 8:26 
QuestionHow to check status file Pin
Dedy Hartono22-Oct-09 22:59
Dedy Hartono22-Oct-09 22:59 
AnswerRe: How to check status file Pin
Christian Graus22-Oct-09 23:24
protectorChristian Graus22-Oct-09 23:24 
AnswerRe: How to check status file Pin
dan!sh 22-Oct-09 23:37
professional dan!sh 22-Oct-09 23:37 
GeneralRe: How to check status file Pin
Christian Graus22-Oct-09 23:39
protectorChristian Graus22-Oct-09 23:39 
GeneralRe: How to check status file Pin
dan!sh 22-Oct-09 23:58
professional dan!sh 22-Oct-09 23:58 
GeneralRe: How to check status file Pin
Christian Graus23-Oct-09 0:09
protectorChristian Graus23-Oct-09 0:09 
QuestionRegarding the dll Pin
Sasmi_Office22-Oct-09 22:45
Sasmi_Office22-Oct-09 22:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.