mardi 29 avril 2014

MouseEnter MouseLeave event to hide and show button makes button non responding


Vote count:

0





private void panelControl1_MouseEnter(object sender, EventArgs e)
{
button2.Show();
}

private void panelControl1_MouseLeave(object sender, EventArgs e)
{
button2.Hide();
}


enter image description here


When I enter the panel, button shows up but clicking on button doesn't work. Above are the image and code.



asked 18 secs ago






Aucun commentaire:

Enregistrer un commentaire