首先,picturebox,几张图片,但不要使picturebox彼此覆盖了,最少也要有点层次感撒!然后就是个很简单的鼠标事件了。move和leave事件。当鼠标移到该picturebox时,该picturebox就TopMost();鼠标移开时该图片回到原有的层次。
下面是我以前写的,move和leaves事件,是实现颜色的转变的。道理相同。
private void button1_MouseMove(object sender, MouseEventArgs e)
{
this.button1.ForeColor = Color.Yellow;
}
private void button1_MouseLeave(object sender, EventArgs e)
{
this.button1.ForeColor = Color.Red;
}