private void removalButton_Click(object sender, EventArgs e) { int id = Int32.Parse(idTextBox.Text); inventory.removeItem(id); inventory.displayInventory(itemList); Close(); }