I think this is a stupid question, but I do not understand what is happening here.
I am using this code:
private void pictureBox1_MouseHover(object sender, EventArgs e) { pictureBox1.Visible = false; pictureBox1.BackColor = Color.Black; } private void pictureBox1_MouseLeave(object sender, EventArgs e) { pictureBox1.Visible = true; }
The problem is this: the picture changes color to black if the mouse is above the frame, but the visibility does not change. Why?
source share