Redraw owner drawn combo on selected index changed
<p>This is an extension of 
<a href="http://stackoverflow.com/questions/10891214/c-sharp-combobox-with-lines">C# combobox with lines</a>. </p>

<p>The e.forecolor in  this line -</p>

<pre><code>using (Pen DashedPen = new Pen(e.ForeColor, 1))
</code></pre>

<p>comes from an earlier selected cmbBoxLineColor combo.<br>
Right now I am passing the color as   </p>

<pre><code>    private void DlgGraphOptions_Load(object sender, EventArgs e)
            {

                  Color selCol =  cmbBoxLineColor.SelectedValue
                  string name = GetColorName(selCol)
        ComboBoxItemLineStyle itemSolid = new ComboBoxItemLineStyle ("Solid Line",Color.FromName(name));
</code></pre>

<p>}</p>

<p>Basically, the user picks a color from cmbBoxLineColor.SelectedValue combo(which is a color picker control). I am passing this selected color name as a property to the ComboBoxItemLineStyle .
 The very first time both cmbBoxLineColor and cmbBoxLineStyle have blue(which is the default color for cmbBoxLineColor
If I change the color in cmbBoxLineColor, then I need the cmbBoxLineStyle  to redraw with the selected color from cmbBoxLineColor</p>

<pre><code> private void cmbBoxLineColor_SelectedIndexChanged(object sender, EventArgs e)
        {
      // I should be changing the color of the lines. So should I redraw cmbBoxLineStyle   combo? How would I tell that combo to redraw itself
        }
</code></pre>

<p>Hopefully, I am making myself clear..
Thank you</p>
