How do i get a listbox to display text that is shown when a checkbox is clicked only one time, and remove the text from the listbox when that checkbox is unchecked?

Hello, I am creating a business program where the user adds as many accessories they want. When they click the check button for the accessory they want. The text shows in the list box. For example “boy pajamas” shows in the listbox when the checkbox for the boy pajamas is clicked But when I click […]