private void handleThisEnvelopeNode(EnvelopeNode envNode) { int envelopeID = envNode.EnvelopeID; foreach (var item in DBquery.getSubEnvelopeBalances(envelopeID)) { AENode node = new AENode(item.ID, envelopeID, item.Name, item.SubBalance); node.ImageId = (int)NodeImage.Bank; envNode.Nodes.Add(node); } }