Just wondering is there is an easy way to check if the mouse is over a control. Right now I'm using events and keeping track of the mouses's status like so:
private void panel1_MouseEnter()
_mouseIsInPanel = true;
private void panel1_MouseLeave()
_mouseIsInPanel = false;
Obviously, this is pretty simple as it is, but I was just wondering if there is an even easier way to do it, perhaps by checking some property, that I'm unaware of. Also, if there is an easy way, can this also be done for getting the mouse's current position, etc.? Thanks in advance.