I have a Panel with 2 buttons on it. What i'm trying to do is, when the mouse is inside the panel area then the buttons are visible, and when the mouse location is off the panel area the buttons are not visible.
I'm using the MouseEnter and MouseLeave events on the panel.
On MouseEnter i do button.Show() and on MouseLeave i do button.Hide();
This seems simple, but when the buttons are visible (the mouse is inside the panel area) they are not clickable (click events are not triggered).
Some debugging shows that the when the mouse is over the button, the events MouseEnter and MouseLeave are continuously being called.
Any suggestion on this ? This should be so easy to be done that i'm actually without ideas.
MouseEntertoo.