bool mousehover()
{
System.Drawing.Point mousePt = System.Windows.Forms.Cursor.Position;
if (mousePt.X > this.Left &&
mousePt.X < this.Left + this.Width &&
mousePt.Y > this.Top &&
mousePt.Y < this.Top + this.Height)
{
return true;
}
else
return false;
}