日期:2014-05-17 浏览次数:21032 次
private void label1_MouseMove(object sender, MouseEventArgs e)
{
toolTip1.Show("123", label1,e.X+10,e.Y+10,5000);
}
private int x, y;
private void label1_MouseMove(object sender, MouseEventArgs e)
{
if (x != e.X
------解决方案--------------------
y != e.Y)
{
toolTip1.Show("123", label1,e.X+10,e.Y+10,5000);
x = e.X;
y = e.Y;
}
}