Problem with some auto-refresh that happens on a button when mousehover
I've been working on a windows application lately. It's build up from several classes that basically draw an image together. After that was done, I made 2 buttons with an event on click that changed a few colors of the drawn objects.

Everything works fine including the buttons, but my problem is that each time I hover over the buttons with my mouse the form seems to refresh (it flashes once). Naturally I only want the form to refresh after clicking the button, not on hover.

I hope I'm clear on explaining my issue.
Problem with some auto-refresh that happens on a button when mousehover
===

I've been working on a windows application lately. It's build up from several classes that basically draw an image together. After that was done, I made 2 buttons with an event on click that changed a few colors of the drawn objects.

Everything works fine including the buttons, but my problem is that each time I hover over the buttons with my mouse the form seems to refresh (it flashes once). Naturally I only want the form to refresh after clicking the button, not on hover.

I hope I'm clear on explaining my issue.