private void SaveLocation(TreeNode oParent) { foreach (TreeNode oNode in oParent.ChildNodes) { if (oNode.Checked == true) { oVMWare.AddVlanAssociation(intID, Int32.Parse(oNode.Value)); } } }