How to change the datagridView Header font color using combobox c#
<p>Now the datagridView Header font color is showing in black. I want to change it to differenct color using combobox .</p>

<p>My combobox contain color picker</p>

<p><a href="https://i.stack.imgur.com/a5yE1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a5yE1.jpg" alt="enter image description here"></a></p>

<pre><code>private void cmbfontcolor_DropDown(object sender, EventArgs e)
        {
            ColorDialog cd = new ColorDialog();
            if (cd.ShowDialog() == DialogResult.OK)
            {
                cmbfontcolor.BackColor = cd.Color;
            }
        }
</code></pre>

<p>When select some color and click ok buton in color picker my combobox get that color as it back color</p>

<p><a href="https://i.stack.imgur.com/ysuX7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ysuX7.jpg" alt="enter image description here"></a></p>

<p>Now what i need is my form contain ok button when i click the button my datagridview Header fontcolor need to change to that color. help me </p>