How to create an image with hover effect in C # [closed]

-1

I'm not sure how to do this, but I'm not sure how to do it.     

asked by anonymous 28.11.2017 / 19:05

1 answer

0

If you are using C # WindowsForms, with an image being displayed in a PictureBox, you can manipulate the MouseHover event and the MouseLeave event.

private void PictureBox1_MouseHover(object objeto, EventArgs evento){
   //Aqui você manipula o mouse sobre da PictureBox

}

private void PictureBox1_MouseLeave(object objeto, EventArgs evento){
   //Aqui você manipula a saida mouse da PictureBox

}

    
29.11.2017 / 17:34