private void MagicSCraftBtn_Click(object sender, EventArgs e) { ListViewItemSCraft.SetupHeaders(TMagicList); List <MagicRecord> magicTableRecords = magicTable.GetSCrafts(); foreach (MagicRecord record in magicTableRecords) { ListViewItem rowItem = new ListViewItemSCraft(record); TMagicList.Items.Add(rowItem); } }