I have an owned form and a panel in a main window.
I want to run certain code on the mouse leave event of both of them. To be precise:
Expand|Select|Wrap|Line Numbers
- panel1.Visible=false;
and
Expand|Select|Wrap|Line Numbers
- this.Hide();
Both the form and the panel are completely full with a toolstrip (docked to the top) and a listView (docked to fill).
When I did not get the desired result I did put a breakpoint in the methods that run when the mouse leave event of the form and the panel is trigerred. I discovered that the control is not at all entering into the method.
This clearly means the mouse leave event is not at all getting triggered.
Am I missing some property?
Please guide.