title: SelectedItem of a variable combobox
body: <p>There is a combobox which i fill with this loop</p>
  
  <pre><code>foreach (Machine.Types machine in machineList)
  {
      cbMachineGUI.Items.Add(machine);
  }
  </code></pre>
  
  <p>after that i want the selected index to be one specific machine. </p>
  
  <pre><code>string machineComboBox = SettingsManager.getParameter("MachineType");
  cbMachineGUI.SelectedItem = machineComboBox;
  </code></pre>
  
  <p>The parameter is correct and set, but the selecteditem of the combobox is always nothing. </p>
  
  <p>if i set the machines in the properties of the combobox (not via the loop) it works. but i need the combobox to be variable.</p>
  
  <p>any suggestions?</p>