private void idSearchButton_Click(object sender, EventArgs e) { int id = Int32.Parse(idTextBox.Text); inventory.searchByID(id); }