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