private void frm_NewChip_NewChipUpdated(object sender, NewChipUpdateEventArgs e) { //string RecName = ExtractRecordName(LastRightClickedNode.Text); if (SubChips.ProjectRoot.Length == 0) { SubChips.ProjectRoot = this.ProjectRoot; } string RecName = LastRightClickedNode.Text; if (SubChips.AddSubChipRows(e.XMLFileName, e.SampleFileName, e.ChipName, RecName) == true) { ChipInfo ci = new ChipInfo(); ci.chipname = e.ChipName; ci.owner = RecName; ci.chipid = e.ChipID; ci.xmlfilename = e.XMLFileName; ci.samplelistfilename = e.SampleFileName; ci.invlocalhandling = e.InvHandling; Chips.AddNewChip(ci); } }