private void checkBox1_MouseHover(object sender, EventArgs e)
{
panel1.Visible = true;
}
private void checkBox1_MouseMove(object sender, MouseEventArgs e)
{
int x = MousePosition.X - this.Location.X - checkBox1.Location.X + 10;
if (x + panel1.Width + 10 <= this.Width)
panel1.Location = new Point(x, MousePosition.Y - this.Location.Y - panel1.Height - checkBox1.Location.Y);
}
private void checkBox1_MouseLeave(object sender, EventArgs e)
{
panel1.Visible = false;
}