title: ComboBox - Set selected item by enum name
body: <p>I initialize my ComboBox with Enum values like so:</p>
  
  <pre><code>private void initPrioritys()
  {
      m_PriorityComboBox.DataSource = Enum.GetNames(typeof(MPriority)).ToArray();
  }
  </code></pre>
  
  <p>After that I want to update the selected item:</p>
  
  <pre><code>m_PriorityComboBox.SelectedItem = (MPriority)i_Data.Priority;
  </code></pre>
  
  <p>This is my enum:</p>
  
  <pre><code>public enum MPriority
  {
      Critical,
      High,
      Important,
      Medium
  }
  </code></pre>
  
  <p>The problem is that no matter what value i_Data.Priority has the selected item stays the first index.</p>