private void statsListView_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Delete && statsListView.SelectedItems.Count > 0) { e.Handled = true; e.SuppressKeyPress = true; activeSaveFile.RemoveStat((Handle <GameStatModifierData>)statsListView.SelectedItems[0].Tag, activeSaveFile.GetItemStatData(activeItem)); statsListView.Items.Remove(statsListView.SelectedItems[0]); } }