public static void AddLoadNodes(TreeNode tn, Element e) { Loads loads = new Loads(e); if (loads.IsValid) { loads.AddNodes(tn); } }