title: How to hide specific item from a combo box in win forms
body: <p>How can I hide specific number of items from a combo box. Code below will hide all the items instead. I couldn't find a way to perform this</p>
  
  <pre><code>string taskSelection = taskSelectionComboBox.Text;
  string stateOfChild = stateOfChildComboBox.Text;
  if (stateOfChild == "Awake")
  {
      taskSelectionComboBox.Hide();
  }
  </code></pre>