Consider this window :
private Item itemObject;
Now we want to delete this item from comboBox.Take a remove button just like this,
Now double click on Remove button then write this code :
private void removeButton_Click(object sender, EventArgs e)
MessageBox.Show(“Item has been deleted”);
Now if we give input in text box which is “Pen” and then click remove button then item “pen” will be deleted.Just like this,
Now we can add and remove more than one element.Just write down the elements name in text box and click add button and show combo box.Then we will see the elements in combo box serially.And by clicking Remove button we can remove any item from combo box.