title: Button Hover Color Change with an animation c#
body: <p>i'v created a windows form and it has 3 buttons. So an one button i figured to change the color with using mouseenter event. that's work fine. but i need to change the color with transition as fade in or fade out. anyone who have an answer for this question please let me know the below code i'll show you my mouseenter and mouseleave event</p>
  
  <pre><code>private void button1_MouseEnter(object sender, EventArgs e)
  {
     button1.UseVisualStyleBackColor = false;
     button1.BackColor = Color.Black;
     button1.ForeColor = Color.White;
  }
  
  private void button1_MouseLeave(object sender, EventArgs e)
  {
     button1.UseVisualStyleBackColor = true;
     button1.ForeColor = Color.Black;
  }
  </code></pre>