楼上的 你那个事行了
可是我本意是想让他看不见得啊。。
private void panel1_MouseLeave(object sender, EventArgs e)
{
//this.panel1.BackColor = Color.Beige;
//button4.Visible = true;
panel1.Visible = false;
}
private void panel1_MouseEnter(object sender, EventArgs e)
{
//this.panel1.BackColor = Color.Blue;
panel1.Visible = true;
}
private void button4_MouseEnter(object sender, EventArgs e)
{
//this.panel1.BackColor = Color.Blue;
panel1.Visible = true;
}
这样写不行 。。。继续等待